/**
* @class Roo.bootstrap.TableBody
* @extends Roo.bootstrap.Component
+ * @children Roo.bootstrap.TableRow
+ * @parent Roo.bootstrap.Table
* Bootstrap TableBody class
* @cfg {String} cls element class
* @cfg {String} tag element tag (thead|tbody|tfoot) default tbody
cfg = {
tag: 'tbody'
- }
+ };
if (this.cls) {
cfg.cls=this.cls
}
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();
-
- },
+ }
- onLoad: function ()
- {
-
- this.clear();
-
- this.fireEvent('load', this);
- },
- clear: function()
- {
- Roo.log(this.el);
- }
-
+// 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);
+// }
+//
+//
});