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

Sharing one list with multiple widgets

1 Answer 24 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
DA9949972
Top achievements
Rank 1
DA9949972 asked on 16 Sep 2015, 05:40 PM

Lets say we have a table, each row with a ComboBox containing the same allowed values.

It seems that each ComboBox generates its own DOM list (<ul> etc) for use, so for a table with 100 rows, you will end up with 100 extra lists in the background which eventually affect performance.

Is there a way to get the ComboBoxes to share the same list of available values?  Or is there a more appropriate widget I should be using?

 

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 18 Sep 2015, 07:17 AM
Hello Arthur,

Sharing one list between multiple widgets is not supported out of the box and I am afraid that I cannot suggest an easy workaround for this scenario.

Is it necessary to display all the widgets at the same time. Basically the ComboBox will be needed when the user attempts to edit the data. You may initialize the widget on demand only when it is needed. Take a look at Grid batch editing example where the editors are initialized on demand.

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