New to Kendo UI for Angular? Start a free 30-day trial
SelectionDirective
Stores the row selection state of the Grid in memory (see example).
typescript
<kendo-grid kendoGridSelectBy="ProductID"></kendo-grid>
<kendo-grid [kendoGridSelectBy]="myKey"></kendo-grid>
Selector
[kendoGridSelectBy]
Inputs
Name | Type | Default | Description |
---|---|---|---|
columnKey |
|
Sets a function to get the column key for a data cell. The function must return a unique value for each column. The Grid uses the column index as the default column key. | |
rangeSelectionStartColumnIndex |
|
|
Sets the starting column index for |
rangeSelectionStartRow |
|
|
Sets the starting row index for |
selectedKeys |
|
|
Stores the selected item keys. |
kendoGridSelectBy |
|
Sets the item key to store in |
Events
Name | Type | Description |
---|---|---|
selectedKeysChange |
|
Emits when the |