sync
authorjohn <john@roojs.com>
Thu, 11 Oct 2018 08:41:51 +0000 (16:41 +0800)
committerjohn <john@roojs.com>
Thu, 11 Oct 2018 08:41:51 +0000 (16:41 +0800)
Roo/bootstrap/Table.js

index 51e23fb..211067f 100644 (file)
@@ -1160,7 +1160,13 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
     setColumnWidth: function(col_index, width)
     {
         // width = "md-2 xs-2..."
+        if(!this.colModel.config[col_index]) {
+            return;
+        }
+        
+        var w = width.split(" ");
         
+        Roo.log(w);
     }
 });