DHTMLX Docs & Samples Explorer

findItem(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, select and focus it

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