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
- Run https://dojo.telerik.com/UhFxSjVc/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);

Expected/desired behavior
The class should not be added if the column that is sorted is hidden.

Environment
- Kendo UI version: 2024.4.1112
- Browser: all