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

ComboBox with large data set

3 Answers 481 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Tee Hwa
Top achievements
Rank 1
Tee Hwa asked on 18 Apr 2018, 12:13 PM

I face a problem that with large data set, when first open/show, it will freeze the browser.

 

I tried virtualization, but not working properly for me condition.

 

My dataSource is added dynamically during runtime. 

 

Please advice if there is any other solution/hack.

 

Thanks.

3 Answers, 1 is accepted

Sort by
0
Tee Hwa
Top achievements
Rank 1
answered on 19 Apr 2018, 12:55 AM

below is the code snippet:

http://dojo.telerik.com/OZahAmEx

0
Misho
Telerik team
answered on 19 Apr 2018, 01:32 PM
Hi,

Here is a sample that showcases how to configure Kendo ComboBox with large data set:
http://dojo.telerik.com/EWoGujUy

In this example the initial Combobox data items are get using the data() method of the DataSource component and converted to JavaScript Array object using the slice() method. The new items are then added to the array and the datasource data is finally updated only once. In this way the performance is improved since the widget event handlers and rendering are not refreshed on each datasource change.

I hope that helps

Best Regards,
Misho
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.
 
0
Tee Hwa
Top achievements
Rank 1
answered on 20 Apr 2018, 02:09 AM

Thanks to Telerik support.

Let me share the solution:

http://dojo.telerik.com/EWoGujUy

Tags
ComboBox
Asked by
Tee Hwa
Top achievements
Rank 1
Answers by
Tee Hwa
Top achievements
Rank 1
Misho
Telerik team
Share this question
or