فهرست منبع

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

Enrico Berti 10 سال پیش
والد
کامیت
c4a1e16
1فایلهای تغییر یافته به همراه3 افزوده شده و 9 حذف شده
  1. 3 9
      desktop/core/src/desktop/static/desktop/js/jquery.tableextender2.js

+ 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 () {