DHTMLX Docs & Samples Explorer

findItemIdByLabel(searchStr,direction,top)

Required library edition: This method requires Professional Edition of the DHTMLX library
Required library file: dhtmlxtree.js

find tree item by text

  • searchStr - search text
  • direction - 0: top → bottom; 1: bottom → top
  • top - 1: start searching from top