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

index 271a9c1..ef128cf 100644 (file)
@@ -1170,6 +1170,10 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
         
         var h_rows = this.el.dom.getElementsByClassName("x-hcol-"+col_index);
         
+        if(rows.length != h_rows.length) {
+            return;
+        }
+        
         for(var i = 0; i < rows.length; i++) {
             
             for(var j = 0; w.length; j++) {