This
Example demonstrates the various selection modes available with Flexicious Ultimate
The grid
supports the following selection modes:
1)
MULTIPLE_CELLS
2)
MULTIPLE_ROWS
3) NONE
4)
SINGLE_CELL
5)
SINGLE_ROW
In Row
selection modes (Single Row or Multiple Rows), as the user selects rows, they
the selectedKeys and selectedObjects
properties are updated respectively. In cell selection mode, the selectedCells property is updated. The selectedKeys
contains the value of the selected objects "selectedKeyField"
property. The selected objects is a readonly collection that contains the actual selected
objects. The selected cells property is a collection of CellInfo
Objects, which contains a rowData property (which is
a pointer to the actual data object bound to the row) and a column property
which can uniquely identify a cell.
If you programmatically
modify the selected cells collection or selectedKeys
collection, please ensure that you call invalidateSelection() method on the grid.