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 an <input type="checkbox"/> element. When the user clicks the checkbox that is associated with the directive, a selectionChange event is triggered.

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

Selector

[kendoGridSelectionCheckbox]

Inputs

NameTypeDefaultDescription

kendoGridSelectionCheckbox

number

The current index of the dataItem that will be selected.

In this article

Not finding the help you need?