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.