jQWidgets Forums

jQuery UI Widgets Forums Lists ComboBox jqxCombobox with AutoComplete clears dynamicatlly added item

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 11 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • Abijeet
    Participant

    I have a jqxCombobox with auto-complete turned on. I have implemented a functionality where whenever a user enters a keyword to search and if that keyword is not present it automatically gets added to the combobox and also gets selected. I’m doing this on the

    cellendedit 

    event.

    _comboEditor.jqxComboBox('insertAt', { label: vendorname, value: 0 }, 0);
    _comboEditor.jqxComboBox('selectIndex', 0);

    Now this seems to be working fine. It was giving me issues earlier, but it seems to be working now.

    The major problem bugging me right now is that whenever this item is selected and I then click on that combobox again, it automatically selects an item that is completely different from what I had entered earlier. There is no pattern to this, it just changes.


    Peter Stoev
    Keymaster

    Hi Abijeet,

    If you use “cellendedit” then I suppose that you use jqxGrid. For creating a ComboBox with custom items in jqxGrid, then please see: customizededitors.htm.

    Best Regards,
    Peter Stoev

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

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

You must be logged in to reply to this topic.