public class GridSelectionModel<M> extends AbstractStoreSelectionModel<M>
Modifier and Type | Class and Description |
---|---|
static class |
GridSelectionModel.SelectionModelCallback
Determines whether a given cell is selectable.
|
Constructor and Description |
---|
GridSelectionModel() |
Modifier and Type | Method and Description |
---|---|
void |
bind(Store<M> store)
Binds the store to the selection model.
|
void |
bindGrid(Grid<M> grid)
Binds the given grid to this selection model.
|
Grid<M> |
getGrid()
Returns the currently bound grid.
|
void |
selectNext(boolean keepexisting)
Selects the next row.
|
void |
selectPrevious(boolean keepexisting)
Selects the previous row.
|
addBeforeSelectionHandler, addSelectionChangedHandler, addSelectionHandler, deselect, deselect, deselect, deselect, deselect, deselectAll, fireEvent, getSelectedItem, getSelectedItems, getSelection, getSelectionMode, isLocked, isSelected, refresh, select, select, select, select, select, selectAll, setLocked, setSelection, setSelectionMode
public void bind(Store<M> store)
StoreSelectionModel
bind
in interface StoreSelectionModel<M>
bind
in class AbstractStoreSelectionModel<M>
store
- the bound storepublic void bindGrid(Grid<M> grid)
grid
- the grid to bind to this selection modelpublic void selectNext(boolean keepexisting)
keepexisting
- true to keep existing selectionspublic void selectPrevious(boolean keepexisting)
keepexisting
- true to keep existing selectionsCopyright © 2015. All rights reserved.