Extjs grid when 'remoteSort: true' than grouping is wrong. and when I set 'remoteSort: false' it works fine
what seems to be the problem
here is a little code that is grid feature
features: [
{
ftype: 'grouping',
groupHeaderTpl: [
'{columnName} : {name} ({rows.length} Item{[values.rows.length > 1 ? "s" : ""]})'
]
}
],
and that is store
list: {
remoteSort: true,
pageSize: 50,
model: 'List',
proxy: {
type: 'ajax',
url: '/records/load',
reader: {
type: 'json',
rootProperty: 'items'
}
}
}
and on button click
onGroupSubtypeClick: function(item, e, eOpts) {
var store = this.getViewModel().getStore('list');
store.group('level1Name');
},