Check documentation for the latest version of dhtmlxSuite setItemOptionText DHTMLX Docs

setItemOptionText

sets text for an item's option of buttonSelect

void setItemOptionText(string|number item,string|number optId,string text);

Parameters

itemstring|numberthe item's id
optIdstring|numberthe option's id
textstringtext to be set for the option

Example

myRibbon.setItemOptionText(item, optId, text);

Change log

added in version 4.2

Back to top