浏览代码

HUE-4600 [editor] Result table headers breaks on sort

Enrico Berti 9 年之前
父节点
当前提交
5cf870b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      desktop/core/src/desktop/static/desktop/js/jquery.tableextender.js

+ 1 - 0
desktop/core/src/desktop/static/desktop/js/jquery.tableextender.js

@@ -510,6 +510,7 @@
       $(mainScrollable).on('scroll', positionClones);
     }
     else {
+      $("#" + $pluginElement.attr("id") + "jHueTableExtenderClonedContainer").children('div').width($pluginElement.outerWidth());
       $pluginElement.find("thead>tr th").each(function (i) {
         var originalTh = $(this);
         $("#" + $pluginElement.attr("id") + "jHueTableExtenderClonedContainer").find("thead>tr th:eq(" + i + ")").width(originalTh.width()).attr('class', originalTh.attr('class'));