Roo/bootstrap/Table.js
authorEdward <edward@roojs.com>
Mon, 12 May 2014 09:04:06 +0000 (17:04 +0800)
committerEdward <edward@roojs.com>
Mon, 12 May 2014 09:04:06 +0000 (17:04 +0800)
Roo/bootstrap/Table.js

index db93333..feba242 100644 (file)
@@ -144,7 +144,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
         }
         
         if(this.store || this.cm){
-            cfg.cn.push(this.renderHeaders());
+            cfg.cn.push(this.renderHeader());
             cfg.cn.push(this.renderBody());
             cfg.cn.push(this.renderFooter());
         }
@@ -197,7 +197,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
         
     },
     
-    renderHeaders : function()
+    renderHeader : function()
     {
         var header = {
             tag: 'thead',