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

setListOptionText

sets a text for a listed option

void setListOptionText(string|number parentId,string|number optionId,string text);

Parameters

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