-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: update grid header and footer on column tree update #6648
fix: update grid header and footer on column tree update #6648
Conversation
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
nit: I wonder if a test that only changes the content of the header, but without changing the renderer function could be added, since that's what happens in the FC.
If I understood correctly, in FC's case, the |
You are correct. I checked from the function that this single time renderer calls, but assumed that the renderer itself didn't change between calls. Checking it more closely I see that the whole renderer is replaced when a new header content is defined on the server side. I read "single time renderer" as is "single used by a column". |
Hi @tomivirkki and @tomivirkki, when i performed cherry-pick to this commit to 24.1, i have encountered the following issue. Can you take a look and pick it manually? |
Hi @tomivirkki and @tomivirkki, when i performed cherry-pick to this commit to 23.3, i have encountered the following issue. Can you take a look and pick it manually? |
Co-authored-by: Tomi Virkki <[email protected]>
This ticket/PR has been released with Vaadin 24.3.0.alpha1 and is also targeting the upcoming stable 24.3.0 version. |
I which version will this be backported to 23.3.x ? |
Released with Vaadin 23.3.27 |
Description
Run header and footer renderers after grid column tree update. This ensures that header/footer content updates for a hidden column are applied when the column becomes visible again.
Fixes vaadin/flow-components#5516
Type of change
Bugfix