Roo/bootstrap/Table.js
authorjohn <john@roojs.com>
Fri, 12 Oct 2018 03:33:26 +0000 (11:33 +0800)
committerjohn <john@roojs.com>
Fri, 12 Oct 2018 03:33:26 +0000 (11:33 +0800)
Roo/bootstrap/Table.js

index 2e422a4..e1a7b2e 100644 (file)
@@ -1187,6 +1187,10 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
                 continue;
             }
             
+            if(!h_row[0].classList.contains("col-"+size_cls[0]+"-"+this.colModel.config[col_index][size_cls[0]])) {
+                continue;
+            }
+            
             h_row[0].classList.replace(
                 "col-"+size_cls[0]+"-"+this.colModel.config[col_index][size_cls[0]],
                 "col-"+size_cls[0]+"-"+size_cls[1]