Check documentation for the latest version of dhtmlxSuite setListOptionPosition DHTMLX Docs

setListOptionPosition

sets the position of a listed option (moves a listed option)

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

Example

myToolbar.setListOptionPosition(parentId, optionId, pos);

Back to top