primeng
primeng copied to clipboard
Table: Column Resize broken with sortable columns
Describe the bug
When resizing columns that are sortable, the resize event is triggered on the div with the cbsortableheaderwrapper
. This element does not have the correct width to determine the new column width which results in strange resizes. Also later in the code when the index of the resized column is resolved, it always resolves to 0
so only the first column size is changed as observed here:
Environment
Reproducer
No response
Angular version
18.2.0
PrimeNG version
17.18.11
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.18.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response