-
Notifications
You must be signed in to change notification settings - Fork 83
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!: exclude hidden columns from sorting (24.4) #6927
fix!: exclude hidden columns from sorting (24.4) #6927
Conversation
4f12326
to
7a52b83
Compare
7a52b83
to
3af7c4b
Compare
assertColumnCellOrder(columns[1], ['1', '2', '3']); | ||
}); | ||
|
||
it('should update sort order when column removed and grid is not attached', () => { |
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.
note: The sorters' order property becomes null
for the time the grid is disconnected. It's a limitation of the new implementation which doesn't distinguish whether the column is hidden or the entire grid is hidden. I've assumed that it's not a big deal considering that the order property is restored to its original value when the grid is re-connected.
|
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
This ticket/PR has been released with Vaadin 24.4.0.alpha1 and is also targeting the upcoming stable 24.4.0 version. |
Description
The PR updates the grid sorting logic so that it excludes hidden columns from sorting and includes them when they are shown again.
Precedes:
Part of vaadin/flow-components#5513
Type of change