irstChild = renderedTable.firstChild;
          colgroup.forEach((colgroup) => {
            let clonedColgroup = colgroup.cloneNode(true);
            renderedTable.insertBefore(clonedColgroup, firstChild);
          });
        }

        repeatTHead(sourceTable, renderedTable) {
          let thead = sourceTable.querySelector("thead");
          if (thead) {
            let clonedThead = thead.cloneNode(true);
            renderedTable.insertBefore(clonedThead, renderedTable.firstChild);
          }
    