Check documentation for the latest version of dhtmlxSuite setItemState DHTMLX Docs

setItemState

sets pressed/released state for a two-state button

void setItemState(string itemId,boolean state);

Parameters

itemIdstringid of a two-state item
statebooleanstate: true for pressed, false for released

Example

myRibbon.setItemState(itemId, state);

Back to top