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

getIndexByValue

returns the index of an option by value

number getIndexByValue(string value);

Parameters

valuestringvalue of the option in question

Returns

numberthe index of an option

Example

myCombo.getIndexByValue(value);

Back to top