Skip to content

Conversation

@ghiscoding
Copy link
Collaborator

@ghiscoding ghiscoding commented Sep 23, 2025

in some cases when we have a grid with a frozenColumn (pinning) defined and then on the right section, we scroll a bit on the right and then if we changed the column header reorder it could sometime cause a bug that the column header titles didn't align with the data (the titles was scrolled back to scrollLeft: 0 while the data itself stayed at the same scroll position causing the misalignment). So to avoid such issues, we can simply scroll to the same X coordinate which we had before executing the action (I moved some internal code into a now public function named scrollToX() that we now call after the header title reordering is finished.

@ghiscoding ghiscoding merged commit 3177551 into master Oct 27, 2025
4 checks passed
@ghiscoding ghiscoding deleted the bugfix/frozen-header-reorder branch October 27, 2025 13:22
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