-
Sencha User
remoteSort does not work.
remoteSort does not work.
hi all,
my code is here.
var jr = new Ext.data.JsonReader({
root: 'topics',
totalProperty: 'totalCount',
id: 'user_id'
},[
'user_id', 'username', 'real_name', 'telephone', 'station_status', 'depts'
]);
var ds = new Ext.data.Store({
// proxy : new Ext.data.HttpProxy({url:'index.php?model=user&action=list&'}),
url:'index.php?model=user&action=list',
reader: jr,
remoteSort: true
});
ds.setDefaultSort('username', 'ASC');
i have set remoteSort, but date browser gets is not sortted? i can not find error, so anyone help me fix it , thanks.
-
Sencha - Ext JS Dev Team
Your server must perform the sorting. That's what "remote" means.
-
Sencha User
Similar Threads
-
By saubua in forum Ext 1.x: Help & Discussion
Replies: 4
Last Post: 14 Oct 2011, 12:08 PM
-
By soffio99 in forum Ext 3.x: Help & Discussion
Replies: 3
Last Post: 19 Apr 2010, 11:28 AM
-
By vtmoren in forum Ext 3.x: Help & Discussion
Replies: 2
Last Post: 4 Sep 2009, 10:58 AM
-
By alexk in forum Ext 2.x: Help & Discussion
Replies: 5
Last Post: 22 Aug 2008, 6:55 AM
-
By gwu in forum Ext 1.x: Help & Discussion
Replies: 4
Last Post: 31 Jan 2008, 2:51 PM
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us