Roo/bootstrap/TableBody.js
[roojs1] / Roo / bootstrap / TableBody.js
1 /*
2  * - LGPL
3  *
4  * table body
5  * 
6  */
7
8 /**
9  * @class Roo.bootstrap.TableBody
10  * @extends Roo.bootstrap.Component
11  * Bootstrap TableBody class
12  * 
13  * @constructor
14  * Create a new TableBody
15  * @param {Object} config The config object
16  */
17
18 Roo.bootstrap.TableBody = function(config){
19     Roo.bootstrap.TableBody.superclass.constructor.call(this, config);
20 };
21
22 Roo.extend(Roo.bootstrap.TableBody, Roo.bootstrap.Component,  {
23     
24     getAutoCreate : function(){
25         var cfg = Roo.apply({}, Roo.bootstrap.TableBody.superclass.getAutoCreate.call(this));
26         
27         cfg = {
28             tag: 'tbody'
29         }
30         
31         if(this.tag){
32             cfg.tag = this.tag;
33         }
34         if (this.html) {
35             cfg.html=this.html
36         }
37         if (this.cls) {
38             cfg.cls=this.cls
39         }
40         
41         return cfg;
42     }
43    
44 });
45
46  
47
48