ASP 4.8 MVC application using kendo 2023.2.606
Have a page w/ a grid on it - bound to a list in my model - and wanted to add a default sort.
Here's a stripped down version of my grid:
@(Html.Kendo().Grid(Model.RepList)
.Name("Grid")
.Columns(columns =>
{
columns.Bound(p => p.SalesRepname).Title("Sales Rep");
})
.Sortable()
.Pageable()
.DataSource(dataSource => dataSource
.Ajax()
.Sort(sort => sort.Add("SalesRepname").Ascending())
.ServerOperation(false)
)
)
The default sort works - but the UI presents a double-sort arrow. Clicking the column again re-sorts the column - flipping both arrows the other direction. Is there a workaround for this bug to only have one sort arrow? or is there a fix for this in an upcoming release?
turns out this was a known bug
https://github.com/telerik/kendo-ui-core/issues/7319
And it has been fixed in release 2023.2.718.
Updated to the latest release and confirmed that the double sort arrow is no longer present.