Check documentation for the latest version of dhtmlxSuite setItemCloseable DHTMLX Docs

setItemCloseable

prevents a node from closing

void setItemCloseable(string|number id,boolean flag);
idstring|numberthe id of the node
flagbooleanfalse - the node can't be closed, else the node can be closed
Back to top