kendo-sortable

Sorting kendo grid on multiple columns

∥☆過路亽.° 提交于 2019-11-28 07:41:02
问题 i have a kendo grid. When the page loads, by default i want to sort the grid by column1 then by column2 in descending order. Issue: Its sorting as expected however sort arrow shows up on last sorted column. So in the case below when the page loads the sort arrow is on "DueDate" instead of "DownloadDate" @(Html.Kendo().Grid<TrackingVM>() .Name("Grid") .Columns(col => { col.Bound(p => p.ID).Hidden(); col.Bound(p => p.Year); col.Bound(p => p.State); col.Bound(p => p.DueDate).Format("{0:MM/dd