Roo/bootstrap/Table.js
authorEdward <edward@roojs.com>
Fri, 21 Nov 2014 08:49:27 +0000 (16:49 +0800)
committerEdward <edward@roojs.com>
Fri, 21 Nov 2014 08:49:27 +0000 (16:49 +0800)
Roo/bootstrap/Table.js

index ca3537f..ab384b6 100644 (file)
@@ -22,6 +22,7 @@
  * @cfg {Number} width Specifies the width of a table
  * 
  * @cfg {boolean} striped Should the rows be alternative striped
+ * @cfg {boolean} layout table layout (auto | fixed | initial | inherit)
  * @cfg {boolean} bordered Add borders to the table
  * @cfg {boolean} hover Add hover highlighting
  * @cfg {boolean} condensed Format condensed
@@ -155,6 +156,9 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
         if (this.striped) {
             cfg.cls += ' table-striped';
         }
+        if (this.fixed) {
+            cfg.cls += ' table-striped';
+        }
         if (this.hover) {
             cfg.cls += ' table-hover';
         }