Gets the maximum allowed selected items of the control.
var multiselect = ix.api.dom.getControl("<GUID>");
multiselect.max;
Sets the maximum allowed selected items of the control.
var multiselect = ix.api.dom.getControl("<GUID>");
multiselect.max = 5;
Gets the minimum required selected items of the control.
var multiselect = ix.api.dom.getControl("<GUID>");
multiselect.min;
Sets the minimum required selected items of the control.
var multiselect = ix.api.dom.getControl("<GUID>");
multiselect.min = 5;
Gets the opened state of the control.
var multiselect = ix.api.dom.getControl("<GUID>");
multiselect.opened;
Sets the opened state of the control.
var multiselect = ix.api.dom.getControl("<GUID>");
multiselect.opened = <true|false>;
Gets the required state of the control.
var multiselect = ix.api.dom.getControl("<GUID>");
multiselect.required;
Sets the required state of the control.
var multiselect = ix.api.dom.getControl("<GUID>");
multiselect.required = <true|false>;
Selects all records by the given IDs.
Single ID or array of record IDs to select
Optional
settings: { Optional
strvar multiselect = ix.api.dom.getControl("<GUID>");
// set single value
multiselect.setValue("<recordId>");
// set multiple values
multiselect.setValue(["<recordIdOne>", "<recordIdTwo>"]);
// replace selected value(s)
multiselect.setValue(["<recordIdOne>", "<recordIdTwo>"],{attr:{strModus:"replace"}});
Enhanced list selection featuring improved responsiveness, intuitive keyboard navigation and a more user-friendly interface.
Note
This control operates the same way on both edit and view pages. Refer to this documentation for guidance on its use on view pages as well.