Declined
Last Updated: 08 Apr 2019 07:11 by ADMIN
Stephanus van Staden
Created on: 02 Apr 2019 19:35
Category: DataGrid
Type: Bug Report
0
DataGridColumn crash on nullable types and null values

 When defining a Date column like

<tdg:DataGridDateColumn PropertyName="ExpiryDate" HeaderText="Expiry"/>


and binding data with a type with Nullable datetime

public System.DateTime? ExpiryDate
{
   get { return _expiryDate; }
   set { SetProperty(ref _expiryDate, value); }
} 

We get an exception

 

Is there a workaround?

 

Thanks 

2 comments
ADMIN
Yana
Posted on: 08 Apr 2019 07:11
Hello Stephanus,

Indeed, this is an issue introduced in SkiaSharp 1.68.0 - the Skiasharp team are already working on resolving it and a fix will be available with the next version of the library - 1.68.1. You could check the issue in their github repository at the link below:
https://github.com/mono/SkiaSharp/issues/734

I've updated the status of this bug report to "Declined".

Let me know if you have any additional questions or concerns.

Regards,
Yana
Progress Telerik
Stephanus van Staden
Posted on: 03 Apr 2019 13:29

Ok, this seems like it was cause by SkiaSharp 1.68.1

This was solved by reverting to SkiaSharp.160.3