Endless scroll / Infinite scroll in RadGridView

0 Answers 379 Views
GridView
Rand
Top achievements
Rank 1
Iron
Rand asked on 31 Jul 2021, 09:16 AM

I am looking for a way to implement an endless / infinite scroll in my RadGridView.

I have only found this very outdated blog post

https://www.telerik.com/blogs/wpf-how-to-endless-scrolling-of-2mil-records-using-backgroundworker-and-linq-to-sql

I also found some endless paging approach but I do not want to page, but instead to load more and more data when users scrolls to the end of the RadGridView.

For example,

I am calling a WebService and getting items from range 0 to 10, I populate my RadGridView with those items, when the user scrolls to the end, I want to hit my WebService again and fetch items from range 10 to 20 and load those into my RadGridView (now currently holding 20 items in total), than again user scroll to end, I once again hit WebServce fetch items from range 20 to 30, load those into my RadGridView...

This cycle can be repeated till the point my WebService delivers no data from a range.

 

Looking at other technologies, this seems to be what I am looking for

https://demos.telerik.com/kendo-ui/grid/endless-scrolling-local

https://demos.telerik.com/kendo-ui/grid/endless-scrolling-remote 

Though, I would prefer a solution where the total count can be unknown, and grid just tries to get new data everytime, untill it reaches the point where no data can be delivered, instead of knowing before hand how many items there may be

Rand
Top achievements
Rank 1
Iron
commented on 10 Aug 2021, 04:57 PM

Does no one have an idea?

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Rand
Top achievements
Rank 1
Iron
Share this question
or