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

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