PDA

View Full Version : GWT2.4 + GXT2.2.5 ?



hejian3232
17 Nov 2011, 6:50 PM
Hello

Before ,my gwt web project worked with GWT2.1 and GXT2.2.1.
When I drag TreeStore , it can be sort correctly.

Yesterday I changed to GWT2.4 and GXT2.2.5 .
When I drag TreeStore , it can't be sort correctly.

My Comparator source is : [

comparator = new Comparator<ModelData>(){
public int compare(ModelData item1, ModelData item2) {
return ((Obj)item1).getSortIdx() - ((Obj)item2).getSortIdx();
}
};

]