diff --git a/src/app/components/treetable/treetable.ts b/src/app/components/treetable/treetable.ts index 4c46aed1d0b..aaa3eb7771a 100755 --- a/src/app/components/treetable/treetable.ts +++ b/src/app/components/treetable/treetable.ts @@ -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;