In such cases, we can use the Column template feature of the grid to display the TimeSpan values in desired format.
For example we can use the following Jsrender custom converter to format the timespan value.
In the following code snippets, we have demonstrated, how to use the column template to display the timespan value in grid.
The grid data has been returned from the below function.
The output will be as follows.
Figure 1: Grid with Timespan column without using template - see highlighted column
Figure 2: Grid with Timespan column using template - see highlighted column
This page will automatically be redirected to the sign-in page in 10 seconds.