just a quick follow-up. i saw that there is a filterBy method on GroupingStore, so i tried the following, expecting to see some output in the firebug console
Code:
var store = new Ext.data.GroupingStore({
url: "/data/list.js",
reader: new Ext.data.JsonReader({
root: "rows",
totalProperty: 'results',
fields:[
{name: 'title'},
{name: 'filename'},
{name: 'status'},
{name: 'type'},
{name: 'size'}
]
}),
sortInfo: {
field: 'title',
direction: "ASC"
},
groupField: 'status',
filterBy: function(a,b){
console.log("a:" +a)
console.log("b:" +b)
}
});
i was expecting to see the arguments passed to filterBy in the firebug console, but didn't see any output. am i going down the right path?
thanks