New to Kendo UI for AngularStart a free 30-day trial

Configures the selection functionality of the Grid. (See example).

Definition

Package:@progress/kendo-angular-grid

Syntax:

html
<kendo-grid [data]="gridData" [selectable]="{ checkboxOnly: true, mode: 'multiple' }">
  <kendo-grid-column field="ProductID"> </kendo-grid-column>
  <kendo-grid-column field="ProductName"> </kendo-grid-column>
</kendo-grid>

Properties

cell?

boolean

Enables cell selection.

Enables selection aggregates. By default, this property is set to false. If you set cellAggregates to true, the Grid calculates all aggregate options. Pass an array of SelectionAggregate type options to choose which aggregates to calculate.

Allows selection only through clicking a checkbox. When enabled, clicking the row does not select it. This applies if at least one checkbox column exists.

drag?

boolean

Enables drag selection.

enabled?

boolean

Enables selection.

Requires a meta key (Ctrl or Command) to select multiple items. By default, you must press a meta key to add a new row or cell to the selection.

Sets the selectable mode.

Preserves the existing selection when you perform a new range selection.