Grid does not work with selectable and virtual together

1 Answer 28 Views
Grid ScrollView
Carlos
Top achievements
Rank 1
Carlos asked on 05 Jan 2024, 07:30 PM

When I select the "selectAll" checkbox, only the quantity number from the "pageSize" property is selected. When I scroll through the grid, the new visible rows are not selected and the previous rows are no longer selected.

Here is an example of a stackblitz:

https://stackblitz.com/edit/angular-tybn6w?file=src%2Fapp%2Fapp.component.ts

horváth
Top achievements
Rank 2
Iron
Iron
commented on 06 Jan 2024, 09:04 PM

of course this works like that. This is the quintessence of virtual scrolling.

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 08 Jan 2024, 07:42 AM

Hi Carlos,

This is expected behavior when using virtual scrolling or paging. In order to select all rows of the Grid, the developer needs to modify the selection like the following article demonstrates:

https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting/#toc-selecting-all-items

Regards,
Martin
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
Grid ScrollView
Asked by
Carlos
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or