public static class GridSelectionModel.SelectionModelCallback extends Object implements Grid.Callback
Constructor and Description |
---|
SelectionModelCallback(GridSelectionModel<?> sm)
Creates a selection model callback that determines whether a given cell is selectable.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSelectable(Grid.GridCell cell)
Returns true to indicate the given cell is selectable.
|
public SelectionModelCallback(GridSelectionModel<?> sm)
sm
- the selection modelpublic boolean isSelectable(Grid.GridCell cell)
Grid.Callback
isSelectable
in interface Grid.Callback
cell
- the cell to checkCopyright © 2018. All rights reserved.