Skip to content
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

Port enhanced-grid-flow to vaadin 24 #34

Merged
merged 8 commits into from
Mar 31, 2023

Conversation

brunovianarezende
Copy link
Contributor

No description provided.

- vaadin 24.0.0
- jakarta.servlet 6.0.0
- popup 4.0.
- Renderer.getValueProviders() was removed in vaadin 24 and ColumnPathRenderer
doesn't expose its ValueProvider in any way.
the super method was removed from Grid in vaadin 24
the super method was removed from Grid.Collumn in vaadin 24
Since the java Drid doesn't have support for custom column's header renderer
anymore, I used a somewhat radical approach to the problem: I monkey patched
the function that sets the client side header renderer. If a column has a
filter, then we will use enhanced-grid-sorter in the header. If the column
doesn't have, then the default implementation will be used.
@paodb paodb self-requested a review March 27, 2023 19:52
Copy link
Collaborator

@paodb paodb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Thanks Bruno.

@paodb paodb merged commit b544b46 into vaadin-component-factory:main Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants