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
Name | Type | Default | Description |
---|---|---|---|
kendoGridSelectionCheckbox |
|
Sets the index of the |