Check documentation for the latest version of dhtmlxSuite getListOptionPosition DHTMLX Docs

getListOptionPosition

returns the position of a listed option

number getListOptionPosition(string|number parentId,string|number optionId);
parentIdstring|numberthe id of a select button
optionIdstring|numberthe id of a listed option
numberthe position of a listed option

Example

var pos = myToolbar.getListOptionPosition(parentId, optionId);

Back to top