Check documentation for the latest version 6.0 of dhtmlxSuite findItemIdByLabel DHTMLX Docs

findItemIdByLabel

finds a tree item by text

void findItemIdByLabel(string searchStr,number direction,number top);

Parameters

searchStrstringsearch text
directionnumber0: top -> bottom, 1: bottom -> top
topnumber1: start searching from top

Available only in PRO Edition

Back to top