add docblock for password
[roojs1] / Roo / bootstrap / TableBody.js
index 01a2ae7..77af7cd 100644 (file)
@@ -8,6 +8,8 @@
 /**
  * @class Roo.bootstrap.TableBody
  * @extends Roo.bootstrap.Component
+ * @children Roo.bootstrap.TableRow
+ * @parent Roo.bootstrap.Table
  * Bootstrap TableBody class
  * @cfg {String} cls element class
  * @cfg {String} tag element tag (thead|tbody|tfoot) default tbody
@@ -35,10 +37,10 @@ Roo.extend(Roo.bootstrap.TableBody, Roo.bootstrap.Component,  {
     getAutoCreate : function(){
         var cfg = Roo.apply({}, Roo.bootstrap.TableBody.superclass.getAutoCreate.call(this));
        
-       cfg = {
-           tag: 'tbody'
-       }
-        
+        cfg = {
+            tag: 'tbody'
+        };
+            
         if (this.cls) {
             cfg.cls=this.cls
         }
@@ -49,9 +51,6 @@ Roo.extend(Roo.bootstrap.TableBody, Roo.bootstrap.Component,  {
         if(this.align){
             cfg.align = this.align;
         }
-        if(this.char){
-            cfg.char = this.char;
-        }
         if(this.charoff){
             cfg.charoff = this.charoff;
         }
@@ -61,7 +60,28 @@ 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();
+//        
+//    },
+//    
+//    onLoad: function () 
+//    {   
+//        this.fireEvent('load', this);
+//    }
+//    
+//   
 });