You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x ] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35
Current behavior ScrollableView#setScrollHeight is never triggered after any change in columns because frozen is alwasy undefined in the constructor. So I think the following if block must be moved to ngAfterViewInit.
I think it would be really good to have it called after not only change in columns but also any column size change.
Expected behavior ScrollableView#setScrollHeight should be triggered after any change in columns and their sizes.
What is the motivation / use case for changing the behavior?
In case you have resizable columns + some frozen columns, the height of ui-table-scrollable-body is not re-calculated after a column size change that makes the grid scrollable horizontally.
Angular version: 6.1.7
PrimeNG version: 6.1.3
The text was updated successfully, but these errors were encountered:
cagataycivici
added
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
and removed
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
labels
Sep 5, 2019
yigitfindikli
removed
the
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
label
Sep 6, 2019
I'm submitting a ... (check one with "x")
Current behavior
ScrollableView#setScrollHeight
is never triggered after any change in columns becausefrozen
is alwasy undefined in the constructor. So I think the followingif
block must be moved tongAfterViewInit
.primeng/src/app/components/table/table.ts
Line 1890 in 3c5d2a7
Expected behavior
ScrollableView#setScrollHeight
should be triggered after any change in columns and their sizes.What is the motivation / use case for changing the behavior?
In case you have resizable columns + some frozen columns, the height of
ui-table-scrollable-body
is not re-calculated after a column size change that makes the grid scrollable horizontally.Angular version: 6.1.7
PrimeNG version: 6.1.3
The text was updated successfully, but these errors were encountered: