Check documentation for the latest version of dhtmlxSuite setCheckboxState DHTMLX Docs

setCheckboxState

sets a checkbox's state (checked/unchecked)

void setCheckboxState(string|number itemId,boolean state);
itemIdstring|numberthe item's id
statebooleana new state (true/false)

Example

myMenu.setCheckboxState(itemId, state);

Back to top