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?
i want to change the editor in iggrid from texteditor to combobox and gainsay
is there any way to resolve this problem?
Hello Ryan,
Your best option is igEditor since you can change its type in run-time. The igCombo cannot change to date picker, although you can tweak it to look like text editor.
Best regards,Martin PavlovInfragistics, Inc.
Any update on my last question?
So is there a way to use the more sophisticated igCombo at run-time through javascript? The column could also change between a text editor, dropdown, date picker, etc. based on what the user chooses in another column (which is why I was using the text editor with drop down instead)?