Hi, I've been looking a way to do that, i can manage it with igNumericEditor but not with igCombo.
$("#ddlMonedaMonto").igCombo({ dataSource: data, valueKey: "IdMoneda", textKey: "Nombre", selectedItems: [{ index: 0 }], //default moneda = USD keydown: function (evt, ui) { if (ui.key == 13) { $(document.activeElement).closest(".input-group").next().find("input").focus() } } });
dataSource: data, valueKey: "IdMoneda", textKey: "Nombre", selectedItems: [{ index: 0 }], //default moneda = USD keydown: function (evt, ui) { if (ui.key == 13) { $(document.activeElement).closest(".input-group").next().find("input").focus() } } });
Hello Mario ,
Thank you for posting in our forum.
The ui object does not have a key property. Instead it has a keyCode property that contains the code of the key that was pressed.
So the keydown event should look like this:
keydown: function (evt, ui) {
if (ui.keyCode == 13) {
//...
}
Let me know if you have any questions.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://es.infragistics.com/support
Hi, thanks for answer, now the enterkey press is detected but the igCombo instead of change focus, displays/hide the dropdownList of options.
Is there any way to avoid this behavior?
thanks!