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

setListOptionSelected

sets a listed option selected

void setListOptionSelected(string|number parentId,string|number optionId);

Parameters

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

Example

myToolbar.setListOptionSelected(parentId, optionId);

Back to top