expand all nodes when we use kidsXmlFile to load?

i am using treegrid to display bulk records. I am loading 2nd level data using mygrid1.kidsXmlFile=“load.php”
I need to apply a search filter on this grid. But i unable to filter. Because filter only works on only if the xml files already loaded. Here i am using kidsxml function. it will send request to server side and display records at the time of clicking + symbol. so filter is not working. Is there any way to expand all nodes. I am thinking that when expand all the nodes, the server side call will happen automatically. So i able to filter. any idea? Please help me.