com.gwtext.client.widgets.grid.event
Interface CellSelectionModelListener

All Known Implementing Classes:
CellSelectionModelListenerAdapter

public interface CellSelectionModelListener


Method Summary
 boolean doBeforeRowSelect(CellSelectionModel sm, int rowIndex, int colIndex)
          Fires before a cell is selected.
 void onCellSelect(CellSelectionModel sm, int rowIndex, int colIndex)
          Fires when a cell is selected.
 void onSelectionChange(CellSelectionModel sm, Record record, int[] rowIndexColIndex)
          Fires when the active selection changes.
 

Method Detail

doBeforeRowSelect

boolean doBeforeRowSelect(CellSelectionModel sm,
                          int rowIndex,
                          int colIndex)
Fires before a cell is selected.

Parameters:
sm - this
rowIndex - The selected row index
colIndex - The selected cell index
Returns:
false to cancel the row select

onCellSelect

void onCellSelect(CellSelectionModel sm,
                  int rowIndex,
                  int colIndex)
Fires when a cell is selected.

Parameters:
sm - this
rowIndex - The selected row index
colIndex - The selected cell index

onSelectionChange

void onSelectionChange(CellSelectionModel sm,
                       Record record,
                       int[] rowIndexColIndex)
Fires when the active selection changes.

Parameters:
sm - this
record - the selected record. null for no selection
rowIndexColIndex - array of rowIndex, columnIndex