Check documentation for the latest version 6.0 of dhtmlxSuite setOptionIndex DHTMLX Docs

setOptionIndex

changes a single option's position

void setOptionIndex(string value,number index);

Parameters

valuestringthe value of the option
indexnumberthe new option's position

Example

myCombo.setOptionIndex(value, index);

Back to top