Hi John,
Thanks for your interest in Syncfusion Products.
You need to handle the QueryCellFormattedText event handler of the GridDataBoundGrid to format the TimeSpan column as desired. Please try code below.
// Form Load
dbg.Binder.InternalColumns("ElapsedTimeSecs").StyleInfo.CellValueType = typeof(TimeSpan)
// grid.Model.QueryCellFormattedText
void Model_QueryCellFormattedText(object sender, GridCellTextEventArgs e)
{
if (e.Style.CellValueType == typeof(TimeSpan))
{
string s = e.Style.Text;
TimeSpan timespan = (TimeSpan)e.Value;
string formatValue = string.Format("{0}:{1}", timespan.Minutes, timespan.Seconds);
e.Text = formatValue;
e.Handled = true;
}
}
Let me know if this helps.
Have a nice time.
Regards,
Rajagopal