jQWidgets Forums

jQuery UI Widgets Forums Lists ComboBox Combobox limit ?

This topic contains 5 replies, has 2 voices, and was last updated by  Peter Stoev 11 years, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Combobox limit ? #51661

    liobar
    Participant

    Hi all,
    I use jqxcombobox in a form with a list populated by a json file which contains 1500 items.
    When the cursor is on the combo (autoOpen: true, and autoComplete: true,) the time to display this list is very long and autocomplete as well.
    is there a way to reduce or optimize this duration ?
    Thanks

    Combobox limit ? #51665

    Peter Stoev
    Keymaster

    Hi liobar,

    To optimize the duration, you can load the data on demand. Ex: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxcombobox/remotesearch.htm?arctic

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Combobox limit ? #51685

    liobar
    Participant

    Hi Peter,
    Thanks for your reply and i give it a try to ths sample.

    After read API reference i not find definition about these properties

    url: “http://api.geonames.org/searchJSON”,
    data: {
    featureClass: “P”,
    style: “full”,
    maxRows: 12,
    username: “jqwidgets”
    }

    Could you explain me the meaning

    Thanks

    Combobox limit ? #51687

    Peter Stoev
    Keymaster

    Hi liobar,

    data is the data you send to the Geonames service. It is specific to that service. The widget makes request, sends variables, the service responds with data and the widget displays it.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Combobox limit ? #51979

    liobar
    Participant

    Hi Peter,

    I try to implement your advice, but how i don’t know how to consider my large json file with 1500 items to this service.
    Any help ?
    Thanks

    Combobox limit ? #52007

    Peter Stoev
    Keymaster

    Hi liobar,

    According to me, you should implement some kind of Server Side processing and depending on some ComboBox input/Client Side input, you should return results from the server to the client.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.