I have treegrid. Let us say I have 6 nodes. When I am using it, I have 5 closed nodes and one expanded node. When grid data refreshes I want the tree grid to display with same 5 nodes closed and 1 node expanded.
This only really works if your NOT dynamically loading the data. Otherwise you may need to call the load function a few times when each level is loaded, as the node to open doesnt exist yet.
To check the loading state use
mygrid.attachEvent(“onXLS”, function(grid_obj){
// your code here
});
mygrid.attachEvent(“onXLE”, function(grid_obj,count){
// your code here
});
My treegrid is attached to dhtmlxLayout. I am loading via XML including header and I am have tried returning open=“0” and open=“1” and without open attribute but to no success.
There is another dhtmlxgrid on this layout. It is a regular grid and not tree grid.
Any known issues in using it with Layout. here is the code