View Full Version : Remote Sort Parameters

16 Mar 2011, 8:54 AM
Hi All...

I am making a mobile version of an existing EXTJS 3.2 site and ran into the following problem:

In EXT JS 3.2:

if(this.sortInfo && this.remoteSort){
var pn = this.paramNames;
options.params = Ext.apply({}, options.params);
options.params[pn.sort] = this.sortInfo.field;
options.params[pn.dir] = this.sortInfo.direction;
resulting in two parameters set:
sort : objectNumber
dir : DESC

in Sencha Touch if I set the sorters array then the paramaters are sent up in the following format:

Is there a way to get sorters to append the parameters in the EXT JS way?