Roo/bootstrap/TableBody.js
authorEdward <edward@roojs.com>
Tue, 29 Apr 2014 05:15:21 +0000 (13:15 +0800)
committerEdward <edward@roojs.com>
Tue, 29 Apr 2014 05:15:21 +0000 (13:15 +0800)
Roo/bootstrap/TableBody.js

index f2a2594..9c6dd39 100644 (file)
@@ -73,11 +73,17 @@ Roo.extend(Roo.bootstrap.TableBody, Roo.bootstrap.Component,  {
         
     },
     
-    onLoad: function () {
+    onLoad: function () 
+    {
+        
+        this.clear();
         
-//        this.clear();
-        Roo.log(this.el);
         this.fireEvent('load', this);
+    },
+    
+    clear: function() 
+    {
+        Roo.log(this.el);
     }
    
 });