I have a TimeSpan field called duration that is being returned from MS-Sql Server. I am trying to format that field for display in a grid as mm:ss
I've parsing it as a date for a template but that hasn't worked as I don't believe it is a date.
{
field: "duration",
title: "Duration",
template: "#= kendo.toString(kendo.parseDate(duration), 'mm:ss') #",
width: 120,
filterable: false
},
Any suggestions greatly appreciated.