Use both Grid Pager and Virtual Scrolling

1 Answer 45 Views
Grid
Jie
Top achievements
Rank 3
Iron
Iron
Iron
Jie asked on 13 Oct 2023, 03:23 PM

Hi,

Is it possible to use Grid pager and virtual scrolling together? Let's say pager's page size is 100, and virtual scrolling's page size is 50. According to the Grid documentation, "take: Alias of pageSize property. If take is set, pageSize will be ignored". How would I set the 'take' variable for pager and virtual scrolling separately?

 

Thanks,

Jie

1 Answer, 1 is accepted

Sort by
0
Accepted
Filip
Telerik team
answered on 17 Oct 2023, 01:26 PM

Hi, Jie,

Virtual scrolling is designed to be used without paging. Unfortunately, combining both features simultaneously is not supported.

Please let us know if you need assistance with anything else.

Regards,
Filip
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!

Jie
Top achievements
Rank 3
Iron
Iron
Iron
commented on 17 Oct 2023, 01:32 PM

I was not clear enough in my original question. My goal is to use virtual scrolling when user picked 'All' option in Pager. If it is not 'All', let Pager controls the paging. I was able to achieve that with some custom code, not pretty but got the job done. So I was wondering if there is a out-of-box better way to achieve that. If it is not supported, not a problem. Thank you.
Filip
Telerik team
commented on 19 Oct 2023, 09:51 AM

Hi, Jie,

Thank you for the clarification. 

Currently implementing the described scenario will require some custom logic as you have done, however, it is not supported out of the box at the moment.

Let us know in case you need assistance with anything else.

Regards,
Filip
Tags
Grid
Asked by
Jie
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Filip
Telerik team
Share this question
or