Преглед на файлове

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

Enrico Berti преди 9 години
родител
ревизия
5cf870b84c
променени са 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'));