I have an editor in a grid declared in MVC code but then updated on the client side via javascript. The options I'm setting from javascript don't seem to be honored. I set the following in BLOCKED SCRIPT
$(ui.editor).igEditor("option", "buttonHidden", false);
$(ui.editor).igEditor("option", "listItems", _advancedCriteria_ResponseData.OperandList);
$(ui.editor).igEditor("option", "listAutoComplete", false);
$(ui.editor).igEditor("option", "listMatchContains", true);
$(ui.editor).igEditor("option", "listMatchOnly", true);
However, the "listMatchContains", and "listMatchOnly" flags are not honored. Typing a value in the drop down doesn't even cause the control to drop down the values (even though they exist in list).
Is there something I am doing wrong?
Hello Ryan,
I've checked those 2 options and they are working as expected when set at run-time. igEditor will not automatically show the drop-down. For this to happen you should set the igTextEditor.dropDownTriggers to "focus" for example or open it using the igTextEditor.dropDownVisible API method. It is worth to mention that the igCombo is more sophisticated control than the igEditor.type="text" with drop-down button, thus don't expect both of them to provide the same functionality. You have both of the controls exposed as an igGridUpdating editors, but you should carefully choose which one of them to use in a column configuration based on your user scenario.
Hope this helps,Martin PavlovInfragistics, Inc.