Hi,
i'm using Tree-grid in chrome browser,
with the dynamic loading and server sorting (using the
'loader' callback).
In our page, we're using a dynamic panel which can switch between
views of treeGrids.
Our problem is - in case someone sorted a specific treeGrid component (in a specific view), by a certain column,
when we'll switch back to this treeGrid view and load its data (which will be sorted on server side) we need to define and indicate that this initialized
treeGrid is sorted, in similar to when someone pressing a sortable column (with the suitable asc\desc sort icon) as in the following image:
![](http://i58.tinypic.com/334ovua.png)
.
In addition, after the treegrid has been loaded with its suitable sorting definition (for each treeGrid view, we keep a state which contains the sorting order and column data), we want to make sure that the treeGrid is set to the assigned sorting order+column.
So if someone will press on the sorting column header (to toggle the sort order),
the sorting order will be toggled correctly:
![](http://i61.tinypic.com/2lmqxaa.png)
How can we implement the above requirement?
Thanks in advance.