Hi,
I am currently developing functionality on demand loading of data in the igcombo.What I want is to take the written text in the control and conduct a manual POST with text and other data. But I find nothing that I notice that text entry and pressed ENTER or TAB to search.I need an event which can detect this.any idea?
Hi Felipe,
It is not clear what exactly you try to do. If you want to keep track on text changes in igCombo, then the easiest way to process textChanged event. Below is example:
$('#combo1').igCombo({ textChanged: function (evt, ui) { var oldText = ui.oldText; var text = ui.text; var selIndex = ui.owner.selectedIndex(); var evtType = evt.originalEvent ? evt.originalEvent.type : null; }, dataSource: ["one", "two", "three", "four"]});
Next version of igCombo will have built-in load on demand functionality for remote data. In case of Mvc application or oData (netflix), application will need only enable option of igCombo.
Hi Victor,
what I need is to detect when you press ENTER to perform a search with the text the user entered.
In the TextChange event I can not detect whether the user pressed ENTER.