com.sencha.gxt.widget.core.client.grid
Class GridSelectionModel.SelectionModelCallback

java.lang.Object
  extended by com.sencha.gxt.widget.core.client.grid.GridSelectionModel.SelectionModelCallback
All Implemented Interfaces:
Grid.Callback
Enclosing class:
GridSelectionModel<M>

public static class GridSelectionModel.SelectionModelCallback
extends java.lang.Object
implements Grid.Callback

Determines whether a given cell is selectable.


Constructor Summary
GridSelectionModel.SelectionModelCallback(GridSelectionModel<?> sm)
          Creates a selection model callback that determines whether a given cell is selectable.
 
Method Summary
 boolean isSelectable(Grid.GridCell cell)
          Returns true to indicate the given cell is selectable.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridSelectionModel.SelectionModelCallback

public GridSelectionModel.SelectionModelCallback(GridSelectionModel<?> sm)
Creates a selection model callback that determines whether a given cell is selectable.

Parameters:
sm - the selection model
Method Detail

isSelectable

public boolean isSelectable(Grid.GridCell cell)
Description copied from interface: Grid.Callback
Returns true to indicate the given cell is selectable.

Specified by:
isSelectable in interface Grid.Callback
Parameters:
cell - the cell to check
Returns:
true to indicate the cell is editable


Copyright © 2012. All Rights Reserved.