Skip to content

Commit

Permalink
Merge pull request #15927 from B34v0n/issue-15876
Browse files Browse the repository at this point in the history
Fixed #15876 - TreeTable: Resizing one column resizes other columns a…
  • Loading branch information
cetincakiroglu authored Jul 25, 2024
2 parents 0d7c90c + 0d1b5be commit 850ce31
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/app/components/treetable/treetable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1439,11 +1439,6 @@ export class TreeTable implements AfterContentInit, OnInit, OnDestroy, Blockable
let scrollableBodyTable = DomHandler.findSingle(scrollableView, '.p-treetable-scrollable-body table') || DomHandler.findSingle(scrollableView, '.p-scroller-viewport table');
let scrollableHeaderTable = DomHandler.findSingle(scrollableView, 'table.p-treetable-scrollable-header-table');
let scrollableFooterTable = DomHandler.findSingle(scrollableView, 'table.p-treetable-scrollable-footer-table');
scrollableBodyTable.style.width = scrollableBodyTable.offsetWidth + delta + 'px';
scrollableHeaderTable.style.width = scrollableHeaderTable.offsetWidth + delta + 'px';
if (scrollableFooterTable) {
scrollableFooterTable.style.width = scrollableFooterTable.offsetWidth + delta + 'px';
}
let resizeColumnIndex = DomHandler.index(column);

const scrollableBodyTableWidth = column ? scrollableBodyTable.offsetWidth + delta : newColumnWidth;
Expand Down

0 comments on commit 850ce31

Please sign in to comment.