GridPanel实时获取当前展示的数据条数
Ext.getStore('MyStore').on('datachanged', function(store) {
console.log('The number of visible records has changed:', store.getCount());
});
Ext.getStore('MyStore').on('datachanged', function(store) {
console.log('The number of visible records has changed:', store.getCount());
});