filter in dhtmlxTreeGrid

Hi,



I have designed the TreeGrid, inside of the treegrid, it contains three levels. I want to search the content through out of tree without using the each and every level value in mygrid1.setFiltrationLevel(value);. Is it possible?



- Grant Parent is Country

- Parent is State

- Child is City





1. If i try to search the letter of “t” then should display the tree

2. If i try to search the letter of “a” then should display the parent tree

3. If i try to search the letter of “i” then should display the child tree





Please help me.



Thanks & Regards,

P.Subathra

You can use
mygrid1.setFiltrationLevel(-2);

-1 - sort by leafs
-2 - sort through all levels