How to prevent user from changing the content/selection of a igCombo? There should be an option for that like "enabled" or "readonly". Thanks
Hello Luis,
Depending on the expected result, you could use the igCombo’s mode option readonlylist: “Allows to open list, but does not allow any changes in field or selection in drop-down list. If selection is not set, then first item in dataSource is automatically selected”, OR alternatively readonly” Does not allow to open list or change value in field. If selection is not set, then first item in dataSource is automatically selected.”
You could find these described in the API documentation:http://help.infragistics.com/jQuery/2014.1/ui.igcombo#options:mode
OK, I found it (by accident).
$(".selector").igCombo("option", "mode", "readonlylist");
$(
".selector"
).igCombo(
"option"
,
"mode"
"readonlylist"
);
I haven't tested it yet but I guess it works.