I have a column in my grid where I print values in timeSpan type (using formating “kendo.format(‘{0:00}:{1:00}:{2:00} …” which prints data correctly.). Unfortunately sorting by this column does not work, while sorting by others does work. Does anybody have clue why it does not work?
Share
What do you mean by not working?
If it does not allow you to click on the column then you are most probably using a Template column and Template columns are not sortable.
If you bound the column to the TimeSpan variable and you are using server sorting the sorting should be working.
e.g.
If you bound the column to the TimeSpan variable and you are using ServerOperation option of the dataSource then sorting wont work properly. And you might need to bind the column not to the TimeSpan property but to the Ticks property of the TimeSpan
e.g.