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

DropDownList slow for large number of items

3 Answers 1253 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 24 Feb 2014, 09:28 AM
Hello,

I'm using the Kendo grid (Ajax binding) for some basic CRUD behavior. I'm using three foreign key columns and relying on the GridForeignKey editor for inline editing. Everything is working as expected, except one of the dropdowns contains 8100+ items and is extremely slow to open. If I use a standard dropdown (non-kendo) the list populates quickly, however I haven't been able to match the CSS of the kendo dropdowns so looks very out of place.

Anyone have any suggestions?

Cheers,
Andrew.

3 Answers, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 26 Feb 2014, 08:06 AM
Hi Andrew,

The DropDownList is indeed not the best choice when dealing with huge data sets for a couple of reasons. First, as you already noticed - the performance is not so great, because all items are rendered and this could be quite stressful for older machines and/or browsers. The second reason is poor user experience. Finding a specific item among 8000 others with no means of filtering might be a challenging and even frustrating task. In the current scenario I would recommend using the ComboBox widget in combination with server filtering, thus eliminating both of the possible issues you might have with the DropDownList.

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Kiran
Top achievements
Rank 1
Veteran
Iron
answered on 21 Jan 2015, 06:18 PM
Hi Alexander,

I tried with ComboBox widget in combination with server filtering as you suggested, still there is no performance improvements, I have around 30,000 records to load in the list, can you suggest is there any other way to solve the performance issue.

Thanks,
Kiran
0
Alexander Popov
Telerik team
answered on 23 Jan 2015, 11:56 AM
Hi Kiran,

Basically, the idea is to send the value of the ComboBox's input along with the widget's read request and return the appropriate data. If no parameter is sent you should either return all items (causing performance issues) or return no items at all.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
Andrew
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Kiran
Top achievements
Rank 1
Veteran
Iron
Share this question
or