[Bug][Grid] Misaligned headers when having both hidden and locked columns #2551
Labels
Bug
Item which indicates that something is not working
KendoReact
pkg:Grid
SEV: Medium
triaged
mark the triaged issues with correct priority
I'm submitting a...
Current behavior
when using a Grid where the first and last columns are locked and you dynamically hide a column in the middle, the table header is rendered incorrectly.
Minimal reproduction of the problem with instructions
Result: Observe that the header of the "In Stock" column is jumped to the right.
Additional details
The culprit is this inline style: style="left: 75px; right: 0px;" which is created in the header cell constructor due to locked columns, but is never updated again. Even if the number of columns changes.
Reported in Ticket ID: 1666488
The text was updated successfully, but these errors were encountered: