Kendo Grid Selection Assistance

0 Answers 109 Views
General Discussions Grid
Hanno
Top achievements
Rank 1
Hanno asked on 23 Mar 2023, 07:48 AM

Hi all.

I am currently trying to implement multi-selection within the grid.
When I check one of the checkboxes, it automatically selects all the items(checkboxes) in the grid (which it shouldn't).
I have closely followed the documentation but can't seem to figure it out.

Here is some of the code snippets:

<kendo-grid
  class="data-grid-kendo"
  [data]="gridData | async"
  kendoGridSelectBy="id"
  [(selectedKeys)]="mySelection"
  (selectedKeysChange)="keyChange($event)"
  [pageable]="true"
  [pageSize]="state.take"
  [skip]="state.skip"
  [sortable]="true"
  [selectable]="true"
  [groupable]="false"
  [reorderable]="true"
  [resizable]="false"
  (dataStateChange)="onStateChange($event)"
>
  <kendo-grid-checkbox-column
    class="grid-cell-style-select"
    [headerClass]="'grid-column-header'"
    [width]="45"
    [resizable]="false"
    [columnMenu]="false"
    [showSelectAll]="true"
  >
  </kendo-grid-checkbox-column>

 

 

Any help would be greatly appreciated .

No answers yet. Maybe you can help?

Tags
General Discussions Grid
Asked by
Hanno
Top achievements
Rank 1
Share this question
or