Thank you for reporting this bug. We will make it our priority to review this report.
Ext GWT Premium Member
[FIXED] [2.0rc1] sorting on a treegrid gives strange results
If you look at http://www.extjs.com/examples-dev/ex...#basictreegrid
When you expand the tree and then sort Author or Genre, the new results sorted is out of alignment with their parents. I was wondering how I could fix this problem since the demo did not address this.
TreeGrid now supports sorting by column. Right now, sorting will cause the tree grid to be refreshed, therefore removing and select and expand state. We will look to change that in the future. I also added a sortingEnabled config to GridView so you can decide if you want sorting enabled.
Changes are in SVN.
TreeGrid sorting in 2.0
I'm still seeing this happening with 2.0 release code ...
Hi, development team!
I still have this problem in 2.2.3 version. My TreeGrid is bound to TreeStore. When I call TreeStore.sort() method the whole TreeGrid reorders but loses select and expand state. Is it possible to force TreeGrid save its state during sorting and how?
This issue is very critical for me, please help!
I do not see how this is related to the bug report. If you make your treegrid statefull, it will auto expand again (http://www.sencha.com/examples/#asynctreegrid). If you require to also persist selection, than you need to manually add this feature, as GXT is currently not doing this.
Originally Posted by ss.require