selection event with virtual scroll does not report deselected

0 Answers 28 Views
Grid
josé
Top achievements
Rank 1
josé asked on 19 Aug 2024, 07:54 PM

I had the same problem as the one that was opened in git: 
https://github.com/telerik/kendo-angular/issues/889

Using the example that user "dtopalov" left
https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting/#toc-with-virtual-scrolling


The provided event (selectionChange) does not provide the rows that were deselected.

I changed the pagesize to 10 and when I select item 1, 3, 4 and 6 (all items using "ctrl") the event returns correctly, but if I scroll down and select an item by pressing "shift" the grid will deselect items 1, 3 and 4 and the event does not return items unchecked in the event.
And I need to get this information because I need to emit the rows that are not selected. How can I get the items that have been deselected?

I put a gif with the example:
https://cdn.discordapp.com/attachments/1215659099467808849/1275169938834849864/kendofu.gif?ex=66c4ea0c&is=66c3988c&hm=e1c9a362fe115d0e2e8eed242c6f7002f71e770729412d5e5eaaafa80ea9dbdd&

stackblitz:
https://stackblitz.com/run/?file=src%2Fapp%2Fapp.component.ts

No answers yet. Maybe you can help?

Tags
Grid
Asked by
josé
Top achievements
Rank 1
Share this question
or