I'm having trouble getting the checkbox to appear in my grid and have the rows selectable. Prior to upgrading to the latest revision, I was on "@progress/kendo-angular-grid": "^4.7.0" and everything worked fine, after the upgrade I'm on "@progress/kendo-angular-grid": "^5.3.1".
The first part of my template code for the grid looks like this:
<kendo-grid
[data]="gridData"
[rowClass]="rowCallback"
[sortable]="true"
[selectable]="tableGrid.selectableSettings"
[rowHeight]="tableGrid.options.rowHeight"
[height]="tableGrid.options.height"
[kendoGridSelectBy]="selectionKey"
[sort]="gridSort"
(sortChange)="sortChange($event)"
[selectedKeys]="selectedRows"
[scrollable]="'virtual'"
(cellClick)="onCellClick($event)"
>
<kendo-grid-checkbox-column
*ngIf="tableGrid.options.selectAble"
[headerClass]="'ra-grid-header ra-grid-checkbox'"
[footerClass]="'ra-grid-footer'"
[class]="'ra-grid-checkbox'"
[showSelectAll]="true"
[width]="35"
></kendo-grid-checkbox-column>
...
#the rest of the row code
...
In the code behind, tableGrid.selectableSettings = {checkboxOnly: true, mode: 'multiple'}
After upgrading, my rows are no longer selectable and the checkbox has dissappeared. If I set tableGrid.selectableSettings = {mode: 'multiple'} (removing the checkboxOnly setting), I'm able to select rows and ctrl-click the rows for multiselect, but the checkbox is, of course, gone. I've tried expanding the width to more than 35, but that did not make a difference.
Examining the DOM for the select object, I see the following styles applied:
input[type=checkbox], input[type=radio] { box-sizing: border-box; padding: 0; } .k-checkbox { margin: 0; padding: 0; clip: rect(0, 0, 0, 0); overflow: hidden; position: absolute; opacity: 0; -webkit-appearance: none; pointer-events: none; }