Unplanned
Last Updated: 22 Jan 2025 10:41 by ADMIN
Scheduled for 2025 Q1 (Feb)
Bradley
Created on: 03 Jan 2025 09:48
Category: Grid
Type: Bug Report
0
The last column of the Grid is different color when a hidden column is sorted

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
0 comments