jQuery UI Widgets Forums Lists ComboBox Combobox source

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 8 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Combobox source #78773

    nagaveni
    Participant

    Hi Guys,

    I am using jqxComboBox, As per my scenario, no need to bind source to combobox on page load.
    I have combobox search and I need to bind source to combobox based on search parameter. There I am sending search parameter
    as a querystring to API method and returning results back to view.

    I am binding source to combobox with the following code:

    var dataAdapter = new $.jqx.dataAdapter(array);
    $(“#searchProperties”).jqxComboBox({ source: dataAdapter });

    But after binding source, the entered text in the combobox is getting clear automatically even though there are list items.
    And also if I select any item from dropdownlist, it is also clearing.

    I request you to provide me solution for this.

    Regards,
    Nagaveni

    Combobox source #78881

    Dimitar
    Participant

    Hi Nagaveni,

    This behaviour is normal. When resetting the source property, the combobox input is lost. We recommend you to try implementing the approach of the demo Remote Search, which showcases a scenario similar to yours.

    Best Regards,
    Dimitar

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

    Combobox source #79481

    nagaveni
    Participant

    Hi Guys,

    As per your suggestion I have implemented ‘Remote Search’ functionality, it is working fine.
    But by default it is taking the type as ‘GET’, in my scenario i want to use type as ‘PUT’.
    It is not supporting the PUT type to send parameter to the search API URL.

    Can you please provide me a solution to use ‘PUT’ type in remote search.

    Regards,
    Nagaveni

    Combobox source #79485

    Dimitar
    Participant

    Hi Nagaveni,

    The data adapter plug-in supports only the POST and GET request types, as documented here: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxdataadapter/jquery-data-adapter.htm.

    Best Regards,
    Dimitar

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

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

You must be logged in to reply to this topic.