Check documentation for the latest version of dhtmlxSuite setListOptionText DHTMLX Docs

setListOptionText

sets a text for a listed option

void setListOptionText(string|number parentId,string|number optionId,string text);
parentIdstring|numberthe id of a select button
optionIdstring|numberthe id of a listed option
textstringa text for a listed option

Example

myToolbar.setListOptionText(parentId, optionId, text);

Back to top