Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Subathra on Aug 20, 2009 03:23
open dhtmlx forum
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
Answer posted by Support on Aug 20, 2009 05:59
You can use
          mygrid1.setFiltrationLevel(-2);

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