New to Kendo UI for Angular? Start a free 30-day trial
SelectionCheckboxDirective
Represents the row-selection checkbox of the Grid. The directive expects the
index of the current row as an input parameter. Inside the CellTemplateDirective
, apply the
kendoGridSelectionCheckbox
to a <kendo-checkbox></kendo-checkbox>
or an <input type="checkbox"/>
element. When the user clicks the checkbox that is associated
with the directive, a selectionChange
event is triggered.
html
<kendo-grid ... >
<kendo-grid-column>
<ng-template kendoGridCellTemplate let-rowIndex="rowIndex">
<input ... [kendoGridSelectionCheckbox]="rowIndex"/>
</ng-template>
</kendo-grid-column>
</kendo-grid>
Selector
[kendoGridSelectionCheckbox]
Inputs
Name | Type | Default | Description |
---|---|---|---|
kendoGridSelectionCheckbox |
|
The current index of the |