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

getListOptionText

returns the text of a listed option

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

Parameters

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

Returns

stringthe text of a listed option

Example

var text = myToolbar.getListOptionText(parentId, optionId);

Back to top