The Selection
module is used to handle cell and row selection.
Deselects the currently selected cells.
Returns void
Clear the column selection
Parameter | Type | Description |
---|---|---|
clearIndex (optional) | number |
specifies the clearIndex |
Returns void
Deselects the currently selected rows.
Returns void
Deselects the currently selected rows and cells.
Returns void
Gets the collection of selected records.
Returns Object[]
Selects a cell by the given index.
Parameter | Type | Description |
---|---|---|
cellIndex | IIndex |
Defines the row and column indexes. |
isToggle (optional) | boolean |
If set to true, then it toggles the selection. |
Returns void
Selects a collection of cells by row and column indexes.
Parameter | Type | Description |
---|---|---|
rowCellIndexes | ISelectedCell[] |
Specifies the row and column indexes. |
Returns void
Selects a range of cells from start and end indexes.
Parameter | Type | Description |
---|---|---|
startIndex | IIndex |
Specifies the row and column’s start index. |
endIndex (optional) | IIndex |
Specifies the row and column’s end index. |
Returns void
Select the column by passing start column index
Parameter | Type | Description |
---|---|---|
index | number |
specifies the index |
Returns void
Select the column with existing column by passing column index
Parameter | Type | Description |
---|---|---|
startIndex | number |
specifies the start index |
Returns void
Select the columns by passing column indexes
Parameter | Type | Description |
---|---|---|
columnIndexes | number[] |
specifies the columnIndexes |
Returns void
Select the columns by passing start and end column index
Parameter | Type | Description |
---|---|---|
startIndex | number |
specifies the start index |
endIndex (optional) | number |
specifies the end index |
Returns void
Selects a row by the given index.
Parameter | Type | Description |
---|---|---|
index | number |
Defines the row index. |
isToggle (optional) | boolean |
If set to true, then it toggles the selection. |
Returns void
Selects a collection of rows by index.
Parameter | Type | Description |
---|---|---|
rowIndexes | number[] |
Specifies an array of row indexes. |
Returns void
Selects a range of rows from start and end row indexes.
Parameter | Type | Description |
---|---|---|
startIndex | number |
Specifies the start row index. |
endIndex (optional) | number |
Specifies the end row index. |
Returns void