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

SelectionCheckboxDirective

Adds a row-selection checkbox to the Grid. Use this directive on a <kendo-checkbox> component or <input type="checkbox"> element inside a cell template. When the user clicks the checkbox, the Grid triggers a selectionChange event.

html
<kendo-grid>
 <kendo-grid-column>
 <ng-template kendoGridCellTemplate let-rowIndex="rowIndex">
 <input [kendoGridSelectionCheckbox]="rowIndex"/>
 <kendo-checkbox [kendoGridSelectionCheckbox]="rowIndex"></kendo-checkbox>
 </ng-template>
 </kendo-grid-column>
</kendo-grid>

Selector

[kendoGridSelectionCheckbox]

Inputs

NameTypeDefaultDescription

kendoGridSelectionCheckbox

number

Sets the index of the dataItem to select.

In this article
Not finding the help you need?
Contact Support

AltStyle によって変換されたページ (->オリジナル) /