New to Kendo UI for Angular? Start a free 30-day trial

SelectionDirective

A directive which stores the row selection state of the Grid in memory (see example).

Selector

[kendoGridSelectBy]

Inputs

columnKey

string | (column: any, columnIndex: number) => any

Defines a function that determines the column key of a data cell.

The function should return an unique value for each column. By default, the Grid uses the column index as a column key.

selectedKeys

any[]

Defines the collection that will store the selected item keys.

kendoGridSelectBy

string | (context: RowArgs) => any

Defines the item key that will be stored in the selectedKeys collection.

Events

selectedKeysChange

EventEmitter<any[]>

Fires when the selectedKeys collection has been updated.