if (selectMode == SELECT_MODE_NONE && keycode == getNavigationDownKey()) {
bodyContainer.setScrollPosition(bodyContainer.getScrollPosition()
+ scrollingVelocity);
+ return true;
} else if (keycode == getNavigationDownKey()) {
if (selectMode == SELECT_MODE_MULTI && moveFocusDown()) {
selectFocusedRow(ctrl, shift);
&& moveFocusDown()) {
selectFocusedRow(ctrl, shift);
}
+ return true;
}
// Up navigation
if (selectMode == SELECT_MODE_NONE && keycode == getNavigationUpKey()) {
bodyContainer.setScrollPosition(bodyContainer.getScrollPosition()
- scrollingVelocity);
+ return true;
} else if (keycode == getNavigationUpKey()) {
if (selectMode == SELECT_MODE_MULTI && moveFocusUp()) {
selectFocusedRow(ctrl, shift);
&& moveFocusUp()) {
selectFocusedRow(ctrl, shift);
}
+ return true;
}
- // Left navigation
if (keycode == getNavigationLeftKey()) {
+ // Left navigation
bodyContainer.setHorizontalScrollPosition(bodyContainer
.getHorizontalScrollPosition()
- scrollingVelocity);
+ return true;
- // Right navigation
} else if (keycode == getNavigationRightKey()) {
+ // Right navigation
bodyContainer.setHorizontalScrollPosition(bodyContainer
.getHorizontalScrollPosition()
+ scrollingVelocity);
}
sendSelectedRows();
+ return true;
}
// Page Down navigation
sendSelectedRows();
}
}
+ return true;
}
// Page Up navigation
sendSelectedRows();
}
}
+ return true;
}
// Goto start navigation
}
}
bodyContainer.setScrollPosition(0);
+ return true;
}
// Goto end navigation
}
}
bodyContainer.setScrollPosition(scrollBody.getOffsetHeight());
+ return true;
}
- return true;
+ return false;
}
/*