}
return cfg;
- }
+ },
+
+ initEvents : function()
+ {
+
+ if(!this.store){
+ return;
+ }
+
+ this.store = Roo.factory(this.store, Roo.data);
+ this.store.on('load', this.onLoad, this);
+
+ this.store.load();
+
+ },
-// initEvents : function()
-// {
-//
-// if(!this.store){
-// return;
-// }
-//
-// this.store = Roo.factory(this.store, Roo.data);
-// this.store.on('load', this.onLoad, this);
-//
-// this.store.load();
-//
-// },
-//
-// onLoad: function ()
-// {
-// this.fireEvent('load', this);
-// }
-//
+ onLoad: function ()
+ {
+ this.fireEvent('load', this);
+ }
+
});