Description of the problem in http://www.trirand.com/blog/?p…..work-well/
I've found the problem, the problem is that when the data loadcompleted, i set the datatype:local and sort for a column, then ts.p.lastsort remembered this column.
After i set the datatype:json and reload the grid the ts.p.lastsort is also exist,so it will not re-sort this out but the implementation of the reverse.
So i add code in grid.base.js at line 1514 “ts.p.lastsort = null;”, problem solved.
bind('reloadGrid', function(e, opts) {
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top