Treetable column resize misalign header and body when columnResizeMode="expand" in combination with [virtualScroll]="true" #15059
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
The bug appeard in v14, and is still reproducible in v16 and v17
When you use a p-treetable with columnResizeMode="expand" and [virtualScroll]="true"
And you resize a column, there is a missmatch bewteen width of the header and the body.
There is a second thing, still with columnResizeMode="expand" and [virtualScroll]="true"
The column resize do not work at all if you don't put a colgroup. I don't know if this is intended or not.
Environment
see below
Reproducer
https://stackblitz.com/edit/github-dtgjk2?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fservice%2Fnodeservice.ts,src%2Fapp%2Fapp.component.ts
Angular version
17.3.0
PrimeNG version
17.11.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.8.0
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The column header is aligned with the body
The text was updated successfully, but these errors were encountered: