jQuery UI Widgets Forums Plugins Data Adapter multiple calls to server

This topic contains 4 replies, has 3 voices, and was last updated by  defyent 2 years, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • multiple calls to server #111607



    I have multiple drop down lists which share a json dataadapter, and it seems that a connection is made to my server for every instance of each drop down list, is this correct? If I have 10 drop down lists sharing a single dataadapter to populate their lists, the script connects to my server 10 times, adding huge amounts of overhead. Is there a way I can prevent this from happening? Thank you.

    multiple calls to server #111629


    Hello defyent,

    If you make specific (“custom”) widgets for each one cell then it is possible to have such a case.
    It is difficult to guess without an example.
    Please, provide us with more details about your case.
    One jseditor/jsfiddle example will be better.

    Best Regards,
    Hristo Hristov

    jQWidgets team

    multiple calls to server #111784


    Sorry it is hard to provide an example since the software is so integrated, in our system. But You mentioned cells and custom widgets, These are simple drop downs in a form, not in a datatable. Very basic form, with 10 drop down lists, but all sharing the same contents. Loading the page makes 10 calls to the drop down list json source.

    multiple calls to server #111793


    Hi defyent,

    My suggestion is only one adapter to handle your client-server connections and create new dataAdapters with the data loaded from the dataAdapter which communicates with your data server.


    multiple calls to server #111797


    I only had one adapter loaded, it seems that changing the source: in my dropdownlist from dataAdapter to dataAdapter.records has resolved the issue.

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

You must be logged in to reply to this topic.