jQWidgets Forums

jQuery UI Widgets Forums Plugins Data Adapter Multiple drop down lists

This topic contains 2 replies, has 2 voices, and was last updated by  mrallaris 3 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Multiple drop down lists #121574

    mrallaris
    Participant

    I have 10 drop down lists on one page and they all use the same source and data adaptor – they all have the same records. The problem is that when I instantiate each drop down list it re-calls the same ajax function each time. Presumably it is re-dataBinding or something like that? Is there a way to prevent this or can you suggest a work around? It is causing a performance issue. We only want the ajax call to happen once – not each time we instantiate a drop down list.

    Thanks!

    Multiple drop down lists #121576

    Martin
    Participant

    Hello mrallaris,

    We recommend that each component is initialized with a separate data source, in order to avoid issues.
    In your case, I would suggest you load the data locally using one ajax call and then set it to the different drop down lists.

    Best Regards,
    Martin Yotov

    jQWidgets team
    https://www.jqwidgets.com

    Multiple drop down lists #121577

    mrallaris
    Participant

    Many thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.