9 * @class Roo.bootstrap.TableBody
10 * @extends Roo.bootstrap.Component
11 * @children Roo.bootstrap.TableRow
12 * @parent Roo.bootstrap.Table
13 * Bootstrap TableBody class
14 * @cfg {String} cls element class
15 * @cfg {String} tag element tag (thead|tbody|tfoot) default tbody
16 * @cfg {String} align Aligns the content inside the element
17 * @cfg {Number} charoff Sets the number of characters the content inside the element will be aligned from the character specified by the char attribute
18 * @cfg {String} valign Vertical aligns the content inside the <tbody> element
21 * Create a new TableBody
22 * @param {Object} config The config object
25 Roo.bootstrap.TableBody = function(config){
26 Roo.bootstrap.TableBody.superclass.constructor.call(this, config);
29 Roo.extend(Roo.bootstrap.TableBody, Roo.bootstrap.Component, {
37 getAutoCreate : function(){
38 var cfg = Roo.apply({}, Roo.bootstrap.TableBody.superclass.getAutoCreate.call(this));
52 cfg.align = this.align;
55 cfg.charoff = this.charoff;
58 cfg.valign = this.valign;
65 // initEvents : function()
72 // this.store = Roo.factory(this.store, Roo.data);
73 // this.store.on('load', this.onLoad, this);
79 // onLoad: function ()
81 // this.fireEvent('load', this);