Check documentation for the latest version of dhtmlxSuite setOptionIndex DHTMLX Docs

setOptionIndex

changes a single option's position

void setOptionIndex(string value,number index);
valuestringthe value of the option
indexnumberthe new option's position

Example

myCombo.setOptionIndex(value, index);

Back to top