Method Summary |
|
native public void | addListener(RowSelectionListener listener) Add a Row selection listener. |
native public void | clearSelections() Clears all selections. |
native protected JavaScriptObject | create(boolean singleSelect) |
native public void | deselectRange(int startRow, int endRow) Deselects a range of rows. |
native public void | deselectRow(int row) Deselects a row. |
native public int | getCount() Gets the number of selected rows. |
native public Record | getSelected() Returns the first selected record. |
native public Record[] | getSelections() Returns the selected records. |
native public boolean | hasSelection() Returns true if there is a selection. |
native public boolean | isIdSelected(String id) Returns true if the specified record id is selected. |
native public boolean | isLocked() Returns true if the selections are locked. |
native public boolean | isSelected(int row) Returns true if row is selected. |
native public boolean | isSelected(Record record) Returns true if the record is selected. |
native public void | selectAll() Selects all rows. |
native public void | selectFirstRow() Selects the first row. |
native public void | selectLastRow() Selects the last row. |
native public void | selectLastRow(boolean keepExisting) Seletcs the last row. |
native public void | selectNext() Selects the row immediately following the last selected row. |
native public void | selectPrevious() Selects the row that precedes the last selected row. |
native public void | selectRange(int startRow, int endRow) Selects a range of rows. |
native public void | selectRange(int startRow, int endRow, boolean keepExisting) Selects a range of rows. |
native public void | selectRow(int row) Selects a row. |
native public void | selectRow(int row, boolean keepExisting) Selects a row. |
native public void | selectRows(int[] rows) Selects multiple rows. |
native public void | selectRows(int[] rows, boolean keepExisting) Selects multiple rows. |