-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Sorting indicator moves incorrectly when adding a column #6397
Comments
|
@aninde Please re-check this issue with |
it works the same on my Catalina while applying |
@AMBudnik is right. Sadly this bug occurs also in |
Remains the same in 8.0.0-beta2-rev14 https://jsfiddle.net/AMBudnik/Lxbrpt53/ |
Related to the fact that a newly created row's index replaces the previous physical index. A physical index isn't really a unique value. However, we were saving some states for particular columns/rows threatening physical index as an ID. |
Demo updated to v8.0.0 https://jsfiddle.net/gb126Lre/ (works the same) |
…ames may be not accurate yet) and wrote unit tests for the object #6397
This issue will be fixed by the version upcoming v8.2.0 on all supported browsers except Internet Explorer 11 on Windows 10. Demo https://jsfiddle.net/aninde/09edasc2/ On IE, the newly added column on the left has an additional invalid indicator. When you add a column to the right of a sorted column, the indicator is not added. Sorting pointer renders the same regardless of the Handsontable version order of gifs: |
Today's version of 8.2.0 works beautifully on IE 11/ Windows 10 and other supported browsers. @jansiegel well done! This issue will be fixed by the upcoming v8.2.0. |
The issue is closed as solved for v 8.2.0 |
Description
Sorting indicator (arrow) moves incorrectly to the left when adding a column to the left.
The error does not occur when adding the right column.
Steps to reproduce
Actual result
Sorting indicator (arrow) moves to the new added header and no longer exist on previous sorted column.
Expected result
Sorting indicator should not move. It should stay where it is used, like when adding column on the right site.
Demo
v.
7.2.2
https://jsfiddle.net/aninde/gLzt0c2x/Your environment
The text was updated successfully, but these errors were encountered: