Roo/bootstrap/TableBody.js
authorEdward <edward@roojs.com>
Wed, 30 Apr 2014 08:15:06 +0000 (16:15 +0800)
committerEdward <edward@roojs.com>
Wed, 30 Apr 2014 08:15:06 +0000 (16:15 +0800)
Roo/bootstrap/TableBody.js

index 4a40021..82bfeaa 100644 (file)
@@ -57,27 +57,27 @@ Roo.extend(Roo.bootstrap.TableBody, Roo.bootstrap.Component,  {
         }
         
         return cfg;
-    }
+    },
+    
+    initEvents : function()
+    {
+        
+        if(!this.store){
+            return;
+        }
+        
+        this.store = Roo.factory(this.store, Roo.data);
+        this.store.on('load', this.onLoad, this);
+        
+        this.store.load();
+        
+    },
     
-//    initEvents : function()
-//    {
-//        
-//        if(!this.store){
-//            return;
-//        }
-//        
-//        this.store = Roo.factory(this.store, Roo.data);
-//        this.store.on('load', this.onLoad, this);
-//        
-//        this.store.load();
-//        
-//    },
-//    
-//    onLoad: function () 
-//    {   
-//        this.fireEvent('load', this);
-//    }
-//   
+    onLoad: function () 
+    {   
+        this.fireEvent('load', this);
+    }
+   
 });