【发布时间】:2013-12-11 10:19:24
【问题描述】:
我想用 Month 值过滤我的商店:
//On clicking the Last Six Months period button
onLsmClick: function () {
var chart = Ext.widget('drawchart');
var chartStore = this.getGraphDataStore();
chartStore.clearFilter(true);
chartStore.filter([{
filterFn: function (item) {
return (item.get('Month') >= ????? && (item.get('Month') < ?????)
}
}]);
chartStore.sync = true;
chart.redraw();
chart.refresh();
},
【问题讨论】:
标签: javascript extjs filter store