Sharing one list with multiple widgets

2 posts, 0 answers
  1. DA9949972
    DA9949972 avatar
    1 posts
    Member since:
    Jul 2015

    Posted 16 Sep 2015 Link to this post

    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?


  2. Alexander Valchev
    Alexander Valchev avatar
    2887 posts

    Posted 18 Sep 2015 Link to this post

    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.

    Alexander Valchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top