remove debugging code
[roojs1] / Roo / bootstrap / TableBody.js
index 7c5e259..8f23365 100644 (file)
@@ -12,7 +12,6 @@
  * @cfg {String} cls element class
  * @cfg {String} tag element tag (thead|tbody|tfoot) default tbody
  * @cfg {String} align Aligns the content inside the element
- * @cfg {String} char Aligns the content inside the element to a character
  * @cfg {Number} charoff Sets the number of characters the content inside the element will be aligned from the character specified by the char attribute
  * @cfg {String} valign Vertical aligns the content inside the <tbody> element
  * 
@@ -30,17 +29,16 @@ Roo.extend(Roo.bootstrap.TableBody, Roo.bootstrap.Component,  {
     cls: false,
     tag: false,
     align: false,
-    char: false,
     charoff: false,
     valign: false,
     
     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
         }
@@ -51,9 +49,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;
         }
@@ -63,7 +58,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);
+//    }
+//    
+//   
 });