roojs-bootstrap.js
authorAlan Knowles <alan@roojs.com>
Mon, 26 Jul 2021 04:14:23 +0000 (12:14 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 26 Jul 2021 04:14:23 +0000 (12:14 +0800)
roojs-bootstrap-debug.js

roojs-bootstrap-debug.js

index 1773874..4cb3f01 100644 (file)
@@ -9022,16 +9022,28 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
     
     initCSS : function()
     {
+        
+        
         var cm = this.cm, styles = [];
         this.CSS.removeStyleSheet(this.id + '-cssrules');
         
+        // we can honour xs/sm/md/xl  as widths...
+        // we first have to decide what widht we are currently at...
+        
+        
+        
         for(var i = 0, len = cm.getColumnCount(); i < len; i++) {
             
             var hidden = '';
             if(cm.isHidden(i)){
                 hidden = 'display:none;';
             }
+            // we can honour xs/sm/md/xl ?
+            
+            
             var width = "width:" + (cm.getColumnWidth(i) || 100) + "px;";
+            
+            
             styles.push(
                     '#' , this.id , ' .x-col-' , i, " {\n", cm.config[i].css, width, "\n}\n",
                     '#' , this.id , ' .x-hcol-' , i, " {\n", width, "}\n"