|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.widget.core.client.selection.AbstractStoreSelectionModel<M>
com.sencha.gxt.widget.core.client.grid.GridSelectionModel<M>
public class GridSelectionModel<M>
Grid selection model.
| Nested Class Summary | |
|---|---|
static class |
GridSelectionModel.SelectionModelCallback
Determines whether a given cell is selectable. |
| Constructor Summary | |
|---|---|
GridSelectionModel()
|
|
| Method Summary | |
|---|---|
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. |
void |
selectNext(boolean keepexisting)
Selects the next row. |
void |
selectPrevious(boolean keepexisting)
Selects the previous row. |
| Methods inherited from class com.sencha.gxt.widget.core.client.selection.AbstractStoreSelectionModel |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridSelectionModel()
| Method Detail |
|---|
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 selections
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||