jQuery UI Widgets Forums Lists ComboBox Loading Combobox

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Loading Combobox #24431

    Syai
    Participant

    Hi,
    I’ve a requirement to show the combobox with details of a table in an editable grid. So I’m loading the items to the combobox on INITEDITOR of the combobox column. It will get all the records to the combobox. Here I need not get all the records and show in the dropdown. Suppose if there are 1000 records, it will take more time to get all the records. Instead of getting all the records, is it possible to get the record on entering the starting letters of the items so that we will get filtered (less) records and show in dropdown which is efficient and takes less time. Is there any way to achieve this? Please help me on this.

    Regards,
    Syai,
    Osmosys

    Loading Combobox #24455

    Dimitar
    Participant

    Hello Syai,

    You can see such a functionality implemented in the jqxComboBox demo Remote Search. We hope it is helpful to you.

    Best Regards,
    Dimitar

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

    Loading Combobox #24459

    Syai
    Participant

    Hi Dimitar,

    Can you please confirm below things.
    1) To make this work, we’ve to bind the data to the Combobox before we enter data in the field itself.
    2) After binding the data only it will search for the existing Items of the Combobox and will show the results?

    Regards,
    Syai,
    Osmosys

    Loading Combobox #24470

    Dimitar
    Participant

    Hi Syai,

    The data is bound dynamically (in the combobox search callback function) when the user types in the input field.

    Best Regards,
    Dimitar

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

    Loading Combobox #24503

    Syai
    Participant

    Hi Dimitar,
    Sorry if the question is invalid. I still have some doubts on this. I’m trying to used the combobox with these properties in Jqx grid. Below are the problems I’m facing.

    1) When we enter the search string in the combobox, the “search string” has to be cleared on selecting the item to the particular row. But the search string is remained same for other rows also. So whenever I click on another rows, it is calling the dataadapter with the searchstring and returning the results which are not related to the searched key.
    2) I don’t want to make the cell value as blank when the data is already existing in the cell. It is clearing the cell value.

    Can you please help me resolving these thing. Can you also let me know if I’m following anything wrong.

    Regards,
    Syai,
    Osmosys

    Loading Combobox #24534

    Dimitar
    Participant

    Hi Syai,

    Please provide us with a code sample which demonstrates the reported behaviour and which we may test locally.

    Best Regards,
    Dimitar

    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.