The last column of the Grid is darker in color when a hidden column is sorted through the DataSource.
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);
The class should not be added if the column that is sorted is hidden.