PDA

View Full Version : Extjs treegrid sorting is not working



y.me
7 Dec 2011, 2:58 AM
Hi all, i am using ext 3.3.0 and in that i am using treegrid plugins, the sorting on the treegrid is not working,
i have searched, and someone in the forum has mentioned that changing these lines will fix the issue,

var v1 = sortType ? sortType(n1) : (cs ? n1.attributes[p] : n1.attributes[p].toUpperCase());
var v2 = sortType ? sortType(n2) : (cs ? n2.attributes[p] : n2.attributes[p].toUpperCase());

I have used that code and there is no effect on the sorting,
the sorting is not working for upper levels as well as for the leaf nodes.

1. Can anyone suggest something or help me out?
2. or is this issue have any solution for ext3.3.0 version or any other version in which this issue is fixed??
3. is there any version of treegrid in which sorting is working??

mitchellsimoens
9 Dec 2011, 11:24 AM
The treegrid example in 3.4.0 seems to be working fine.