this.store = Roo.factory(this.store, Roo.data);
- this.store.on('load', this.onLoad(), this);
+// this.store.fireEvent('beforeload', this.store);
+ Roo.log(this.store);
+
+ this.store.on('load', function(data) {
+ Roo.log('data here');
+ Roo.log(data);
+ });
+ Roo.log('fire load');
this.store.load();
},
// this.renderEvents();
- },
-
- onLoad: function() {
- Roo.log('onLoad');
- if(this.store.getCount() > 0){
- Roo.log('get');
- }
-
-
}
});