jeudi 29 mai 2014

GridPanel - RemoteSort is not working correctly

Using ExtJS 4.2.1,

I have a GridPanel, and a store.


On the store it's configured with remoteSort set to true, it does send the parameters to the server. That's not the problem.


In this case, it's a reporting tool, so I am sorting by individual fields (in this case, registrations on our webpage).


I checked the JSON, it returns in proper order from the server, however, once it hits the grid, it seems to filter by the internal elements..


It's not putting them in the order it's receiving them, I don't know why.


It goes something like: 1,2,3,4,5,11,10,13


Anyone have any idea why this is happening and how to fix that?





Aucun commentaire:

Enregistrer un commentaire