Selection Changed Event
An Adaptable Event which is fired whenever the cell / row selection in the Grid changes.
important
Includes full details of all Selected Cells and Rows (if the latter has been activated).
Event Info Properties
Property | Description |
---|---|
selectedCellInfo | Details of cells currently selected in the Grid |
selectedRowInfo | Details of rows currently selected in the Grid |
Selected Cells
The Selected Cell Info class contains 2 arrays
Columns
- This is an array of Adaptable Columntip
This is helpful if you want to see if the Column is ReadOnly or a spcecial type of Column
GridCells
- The Grid Cell class provides full information about the Selected Cell. Its properties are:
Property | Description |
---|---|
columnId | Column in which cell is situtated |
displayValue | Display value of cell (e.g. if formatted) |
normalisedValue | Normalised value of cell |
primaryKeyValue | Primary Key column's value in row - how Adaptable locates the cell |
rawValue | Actual raw value of cell |
Selected Rows
The Selected Row Info contains an array of Grid Row.
This provides full information about the selected row including its underlying data:
Property | Description |
---|---|
primaryKeyValue | Primary Key column's value for Row - how Adaptable locates a cell |
rowData | Actual data in the Row |
rowInfo | Object which provides 'meta data' about the Row |
rowNode | Row Node object for the Row in underlying vendor DataGrid |