Is there a way to get the following behavior in the TreeGrid: when filtering (from a built-in header filter on one of the columns), automatically expand those nodes with matching rows. At the moment it only finds values if the row is visible already.
Thanks
If you are not using dyn. loading, filtering will find row in both opened and closed branches, but it doesn’t expand branches automatically.
You can use something similar to next
grid.attachEvent(“onFilterEnd”,function(){
mygrid.expandAll();
return true;
});
Thanks - is there any way to restore the previous expanded state when filters are removed?
You can try to use dhtmlxgrid_ssc.js , it adds saveOpenStates and loadOpenStates commands