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

getListOptionPosition

returns the position of a listed option

number getListOptionPosition(string|number parentId,string|number optionId);

Parameters

parentIdstring|numberthe id of a select button
optionIdstring|numberthe id of a listed option

Returns

numberthe position of a listed option

Example

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

Back to top