9 * @class Roo.bootstrap.TableCell
10 * @extends Roo.bootstrap.Component
11 * @children Roo.bootstrap.Component
12 * @parent Roo.bootstrap.TableRow
13 * Bootstrap TableCell class
15 * @cfg {String} html cell contain text
16 * @cfg {String} cls cell class
17 * @cfg {String} tag cell tag (td|th) default td
18 * @cfg {String} abbr Specifies an abbreviated version of the content in a cell
19 * @cfg {String} align Aligns the content in a cell
20 * @cfg {String} axis Categorizes cells
21 * @cfg {String} bgcolor Specifies the background color of a cell
22 * @cfg {Number} charoff Sets the number of characters the content will be aligned from the character specified by the char attribute
23 * @cfg {Number} colspan Specifies the number of columns a cell should span
24 * @cfg {String} headers Specifies one or more header cells a cell is related to
25 * @cfg {Number} height Sets the height of a cell
26 * @cfg {String} nowrap Specifies that the content inside a cell should not wrap
27 * @cfg {Number} rowspan Sets the number of rows a cell should span
28 * @cfg {String} scope Defines a way to associate header cells and data cells in a table
29 * @cfg {String} valign Vertical aligns the content in a cell
30 * @cfg {Number} width Specifies the width of a cell
33 * Create a new TableCell
34 * @param {Object} config The config object
37 Roo.bootstrap.TableCell = function(config){
38 Roo.bootstrap.TableCell.superclass.constructor.call(this, config);
41 Roo.extend(Roo.bootstrap.TableCell, Roo.bootstrap.Component, {
61 getAutoCreate : function(){
62 var cfg = Roo.apply({}, Roo.bootstrap.TableCell.superclass.getAutoCreate.call(this));
88 cfg.bgcolor=this.bgcolor
91 cfg.charoff=this.charoff
94 cfg.colspan=this.colspan
97 cfg.headers=this.headers
100 cfg.height=this.height
103 cfg.nowrap=this.nowrap
106 cfg.rowspan=this.rowspan
112 cfg.valign=this.valign