DHTMLX Docs & Samples Explorer
Index
dhtmlxtree
API Methods
setItemCloseable(itemId,flag)
Required library edition:
Required library file: dhtmlxtree.js
prevent node from closing
itemId - id of node
flag - if 0 - node can't be closed, else node can be closed