DHTMLX Docs & Samples Explorer

setItemCloseable(itemId,flag)

Required library edition: This method works with any edition of DHTMLX library
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