PDA

View Full Version : [INFOREQ] [4.2] Store config autoLoad ignore when remoteSort = true



nukboon
3 Apr 2013, 12:26 AM
autoLoad: false ignored when we config remoteSort: true

mitchellsimoens
3 Apr 2013, 5:25 AM
Can I get a test case? This simple example does not send a request at startup:


Ext.create('Ext.data.Store', {
autoSort : true,
autoLoad : false,
fields : ['name'],
sorters : [
{
property : 'name',
direction : 'ASC'
}
],
proxy : {
type : 'ajax',
url : 'data/json.json',
reader : {
type : 'json',
root : 'users'
}
}
});

nukboon
3 Apr 2013, 9:59 AM
Ext.create('Ext.data.Store', {

remoteSort : true,
groupField : 'name',

autoLoad : false,

fields : ['name'],
sorters : [
{
property : 'name',
direction : 'ASC'
}
],

proxy : {
type : 'ajax',
url : 'data/json.json',
reader : {
type : 'json',
root : 'users'
}
}
});



And can you recheck this topic again?

http://www.sencha.com/forum/showthread.php?173629-Store.getGroupString-ignores-Grouper.getGroupString

nukboon
5 Apr 2013, 1:50 AM
Wait for response.