primeng
primeng copied to clipboard
TreeTable: Resizing one column resizes other columns as well
Describe the bug
When trying to resize one specific column in the TreeTable, it resizes the others as well.
You can see the issue in https://primeng.org/treetable#scrollable, I created a gif:
Everytime I make the name
-column bigger or smaller, the type
-column moves a bit to the right.
In my local project, the issue is even bigger, because all of my remaining (14) columns get bigger when I resize one.
Also: shouldn't the size
-column stay the same size as it is, when I resize the name
-colum?
Environment
Chrome
Reproducer
No response
Angular version
17.3.10
PrimeNG version
17.18.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v20.13.1
Browser(s)
Chrome Version 126.0.6478.114
Steps to reproduce the behavior
- Go To https://primeng.org/treetable#scrollable
- Resize
name
-column -
type
-column moves a little bit to the right,size
-column gets smaller/bigger
Expected behavior
size-column should stay the size that it was resized to. type-column should not change it's position ever so slightly.