SelectableSettings
Configures the selection functionality of the Grid. (See example).
Definition
Package:@progress/kendo-angular-grid
Syntax:
<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.
cellAggregates?
boolean | SelectionAggregate[]
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.
checkboxOnly?
boolean
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.
metaKeyMultiSelect?
boolean
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.
multipleRanges?
boolean
Preserves the existing selection when you perform a new range selection.