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

NameTypeDefaultDescription

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.

rangeSelectionStartColumnIndex

number

0

Defines the initial shift-click range selection starting column index when cell selection is enabled.

rangeSelectionStartRow

RowArgs

0

Defines the initial shift-click range selection starting row index.

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

NameTypeDescription

selectedKeysChange

EventEmitter<any[]>

Fires when the selectedKeys collection has been updated.

In this article

Not finding the help you need?