This is a migrated thread and some comments may be shown as answers.

ListControl with lazy loading

1 Answer 120 Views
ListControl
This is a migrated thread and some comments may be shown as answers.
Andrea
Top achievements
Rank 1
Andrea asked on 16 Apr 2018, 08:19 AM

Hello!

I have a ListControl which can contain a lot of DescriptionTextListDataItem (even millions).

Every item could be customized with a different Icon or color.

Obviusly if I try to create all these items all together the process hangs forever.

What I'm trying to do is to show the first 100 elements and, when the user scroll to the end of the list, the next 100 elements are dinamically inserted into the list.

First question: is this reasonable or there's already a baked in way to do such a thing?

I've seen that there is a ScrollEventType.Last that could be useful to understand when the user scrolled down to the end, but... the "Scroll" event on the ListControl is never fired.

Is this an issue or am I missing something?

Thank you!

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 17 Apr 2018, 10:58 AM
Hello, Valerio,   

Please have a look at our Demo application >> DropDown & List >> Performance example. RadListControl can handle binding up to 1 000 000 records. 

Alternatively, I can suggest you using RadVirtualGrid. It is a grid component developed on top of Telerik Presentation Framework which provides a convenient way to implement your own data management operations and optimizes the performance when interacting with large amounts of data.

Feel free to use this approach which suits your requirement best.

I hope this information helps. If you have any additional questions, please let me know. 

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ListControl
Asked by
Andrea
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or