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

The last column of the Grid is different color when a hidden column is sorted #8087

Closed
iordanGrancharov opened this issue Jan 3, 2025 · 1 comment
Assignees
Labels
Bug C: Grid FP: Completed Sync status with associated Feedback Item jQuery Next Release Item that will be included in the next official release SEV: Low
Milestone

Comments

@iordanGrancharov
Copy link

Bug report

The last column of the Grid is darker in color when a hidden column is sorted through the DataSource.

Reproduction of the problem

  1. Run https://dojo.telerik.com/UhFxSjVc/2
  2. Inspect the last column

Current behavior

k-sorted class is added to the last col of the colgroup. The issue is triggered by this line of code in the Kendo ColumnSorter

table.find("col:not(.k-group-col):not(.k-hierarchy-col)").eq(headerIndex).toggleClass("k-sorted", dir !== undefined$1);

Image

Expected/desired behavior

The class should not be added if the column that is sorted is hidden.
Image

Environment

  • Kendo UI version: 2024.4.1112
  • Browser: all
@github-actions github-actions bot added the FP: Unplanned Sync status with associated Feedback Item label Jan 3, 2025
@iordanGrancharov iordanGrancharov added Bug C: Grid SEV: Low jQuery and removed FP: Unplanned Sync status with associated Feedback Item labels Jan 3, 2025
@sspasova sspasova added the FP: Unplanned Sync status with associated Feedback Item label Jan 13, 2025
@gdenchevprog gdenchevprog self-assigned this Jan 22, 2025
@gdenchevprog
Copy link
Contributor

Already fixed with #7942

@github-actions github-actions bot added FP: Completed Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Jan 22, 2025
@gdenchevprog gdenchevprog added this to the 2025 Q1 (Feb) milestone Jan 22, 2025
@gdenchevprog gdenchevprog added FP: Unplanned Sync status with associated Feedback Item Next Release Item that will be included in the next official release and removed FP: Completed Sync status with associated Feedback Item labels Jan 22, 2025
@sspasova sspasova added FP: Completed Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug C: Grid FP: Completed Sync status with associated Feedback Item jQuery Next Release Item that will be included in the next official release SEV: Low
Projects
None yet
Development

No branches or pull requests

3 participants