0
我要過濾我的店裏有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();
},
謝謝,但實際上,我停留在如何讓*最後六*我店的幾個月... – salamey