Check documentation for the latest version 6.0 of dhtmlxSuite setCheckboxState DHTMLX Docs

setCheckboxState

sets a checkbox's state (checked/unchecked)

void setCheckboxState(string|number itemId,boolean state);

Parameters

itemIdstring|numberthe item's id
statebooleana new state (true/false)

Example

myMenu.setCheckboxState(itemId, state);

Back to top