Developers should be able to specify grid column sort config property which is different from column field property.For instance, when listing products, my view model may have CategoryName property mapped from EF entity navigation property Category.Name using AutoMapper, while my sorting will use "Category.Name" on the server side.Example config could be like: columns[{title:"Category",field:"CategoryName",sort:"Category.Name"}] This will allow me to flatten my view model without loosing sorting functionality.
Hello,
The idea behind the field property of a column is to use this field for all data operations(filtering, sorting and etc). That said I would recommend setting the field by which should things be sorted as a column field. If the text displayed should be other one can use the column template.
Regards,
Angel Petrov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.