<kendo:grid-selectable>

If set to true the user would be able to select grid rows. By default selection is disabled.Can also be set to the following string values: "row" - the user can select a single row.; "cell" - the user can select a single cell.; "multiple, row" - the user can select multiple rows. or "multiple, cell" - the user can select multiple cells..

Example

<kendo:grid>
    <kendo:grid-selectable></kendo:grid-selectable>
</kendo:grid>

Configuration Attributes

cellAggregates java.lang.Object

If set to true all aggregates will be calculated and made available to the Status Bar. The cellAggregates property also accepts an array in case only some of the aggregates should be calculated.The available aggregates are: count - the count of all selected cells(excluding command/selectable/draggable column) but including template columns without fields.; max - for numeric cells - the biggest numeric value across all of the selected cells/rows.; min - for numeric cells - the smallest numeric value across all of the selected cells/rows.; sum - for numeric cells - the sum of all numeric values from the selected cells/rows.; average - for numeric cells - the average of all numeric values from the selected cells/rows.; earliest - for date cells.; latest - for date cells.; isTrue - for boolean cells - the count of all selected cells with value true. or isFalse - for boolean cells - the count of all selected cells with value false..

Example

<kendo:grid-selectable cellAggregates="cellAggregates">
</kendo:grid-selectable>

checkboxSelection boolean

When set to true, the grid.selectable will not be initialized. Should be enabled when both checkbox selection for the Grid and cell aggregates are required.

Example

<kendo:grid-selectable checkboxSelection="checkboxSelection">
</kendo:grid-selectable>

dragToSelect boolean

When set to true, the user can drag to select multiple Grid rows or cells.

Example

<kendo:grid-selectable dragToSelect="dragToSelect">
</kendo:grid-selectable>

ignoreOverlapped boolean

When set to true, visually hidden elements that match by the filter option criteria but are overlapped by other elements that also can be selected, are ignored.

Example

<kendo:grid-selectable ignoreOverlapped="ignoreOverlapped">
</kendo:grid-selectable>

mode java.lang.String

Can be set to the following string values: "row" - the user can select a single row.; "cell" - the user can select a single cell.; "multiple, row" - the user can select multiple rows. or "multiple, cell" - the user can select multiple cells..

Example

<kendo:grid-selectable mode="mode">
</kendo:grid-selectable>
In this article
Not finding the help you need?