0d12fc20068c971ad261b6217041d5dd269012b9
[roojs1] / Roo / bootstrap / Column.js
1 /*
2  * - LGPL
3  *
4  * column
5  * 
6  */ 
7 Roo.bootstrap.Column = function(config){
8     Roo.bootstrap.Column.superclass.constructor.call(this, config);
9 };
10
11 Roo.extend(Roo.bootstrap.Column, Roo.bootstrap.Component,  {
12       
13     colspan : 6,
14     
15         autoCreate : {
16         cls: 'column'
17     },
18     
19     getAutoCreate : function(){
20         var cfg = Roo.apply({}, Roo.bootstrap.Column.superclass.getAutoCreate.call(this));
21         cfg.cls += 'col-md-' + this.colspan;
22         return cfg;
23     },
24    
25 });
26
27  
28
29