Check documentation for the latest version of dhtmlxSuite getItemState DHTMLX Docs

getItemState

returns the current state of a two-state button

boolean getItemState(string|number itemId);
itemIdstring|numberthe id of a two-state item to check
booleantrue - the button is pressed, false - released

Example

var isPressed = myToolbar.getItemState(itemId);

See also
Back to top