Hi
I have a grid and a store
Code:
var storeBlog = Ext.create('Ext.data.JsonStore',{
model: 'BlogListModel',
remoteSort: false,
proxy:{
type:'ajax',
method: 'GET',
reader:{
type:'json'
}
}
});
data are loaded when I call this function
Code:
loadThreadDetail: function(rec) {
delete this.store.sortInfo;
this.store.getProxy().url ='....thread_list_temp?' + 'ThreadID=' + rec.get('thread_id');
this.store.load();
},
My problem is when Extjs call ajax to server, it put in the url the sort information which is generated when we click sort on the grid.
ThreadID=989&_dc=1340975517858&page=1&start=0&limit=25&sort=%5b%7b%22property%22%3a%22blog_date%22%2c%22direction%22%3a%22ASC%22%7d%5d
How can I remove these sort info before the store call to server to get data??
Thank you very very very much