Check documentation for the latest version of dhtmlxSuite setItemState DHTMLX Docs

setItemState

sets the pressed/released state for a two-state button

void setItemState(string|number itemId,boolean state);
itemIdstring|numberid of a two-state item
statebooleanstate, true for pressed, false for released

Example

myToolbar.setItemState(itemId, state);

See also
Back to top