Unplanned
Last Updated: 14 Sep 2020 15:09 by ADMIN
Grégory
Created on: 14 Sep 2020 11:33
Category: GridView
Type: Bug Report
0
RadGridView : NullReferenceException in GridViewTimeSpanColumn with negative TimeSpan
Hi,

We got an issue with the Winforms grid view component while displaying a negative TimeSpan.
1 comment
ADMIN
Nadya
Posted on: 14 Sep 2020 15:09

Hello,

To work around the issue you can set the FormatInfo property as shown below:

GridViewTimeSpanColumn gridViewTimeSpanColumn1 = new GridViewTimeSpanColumn();
gridViewTimeSpanColumn1.FormatInfo = CultureInfo.CurrentCulture;

Regards,
Nadya
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).