Explorar el Código

HUE-4953 [core] Scrolling past 100 records on the table hides the top left cell of the fixed header

Enrico Berti hace 9 años
padre
commit
c4a1e16fb7

+ 3 - 9
desktop/core/src/desktop/static/desktop/js/jquery.tableextender2.js

@@ -263,15 +263,9 @@
       firstColTopPos = topPos;
     }
     self.firstColumn.scrollTop(self.$mainScrollable.scrollTop());
-    if (self.lastFirstColTop !== firstColTopPos) {
-      self.lastFirstColTop = firstColTopPos;
-      self.firstColumn.css("top", firstColTopPos + "px");
-    }
-    if (self.lastTopPos !== topPos) {
-      self.lastTopPos = topPos;
-      self.headerRowContainer.css("top", topPos + "px");
-      self.firstColumnTopCell.css("top", topPos + "px");
-    }
+    self.firstColumn.css("top", firstColTopPos + "px");
+    self.headerRowContainer.css("top", topPos + "px");
+    self.firstColumnTopCell.css("top", topPos + "px");
   };
 
   Plugin.prototype.drawHeader = function () {