Search code examples
javascriptkendo-uikendo-asp.net-mvc

Customize Kendo MVC Column Sorting


How can I customize sorting for a specific column on Kendo MVC? I've been trying to use a similar code to the one in this page: https://docs.telerik.com/aspnet-mvc/api/Kendo.Mvc.UI.Fluent/GridBoundColumnSortableBuilder but is not working for me. Not sure if is the Kendo Version but Compare() is not recognized in my code, I only want to customize the sorting for column "Project #"

Here you can see an screenshot of my code: enter image description here

Any suggestions? What am I missing?


Solution

  • I realized there was a request to a method in the backend where the data is written, I did the sorting in the backend instead of the frontend. Was able to find this request using the Network tab of the Dev Tools.