WinUI (Preview ) SfDataGrid does not support GridDateTimeColumn!?

I successfully used the WinUI 3 (Preview) SfDataGrid and all works as expected as long as columns use GridTextColumn. I don't see the GridDataTimeColumn that examples show and can't neither find examples on formatting as a Date or DateTime.
I am surprised that it works well since my types are all based on dynamic classes! But it will be nice to manage the display of data by formatting, converting or any other method that is available. Documentation is scarce... yes it is a preview.
Can managing date or datetime columns samples be provided?
Thanks!

1 Reply 1 reply marked as answer

MA Mohanram Anbukkarasu Syncfusion Team April 12, 2021 02:17 PM UTC

Hi Eduardo Sobrino, 

Thanks for contacting Syncfusion products.  

Currently WinUI SfDataGrid doesn’t have support for GridDateTimeColumn. We have logged a feature request for the this. We will include this feature in our 2021 Volume 2 main release, which is expected to be rolled out in June 2021. We will let you know once it is released with this feature.  


However you can achieve your requirement by using GridTemplateColumn with our DatePicker control as EditTemplate. Please refer the below given help documentations.  

UG references :  

Please let us know if you require further assistance from us. 

Regards, 
Mohanram A. 


Marked as answer
Loader.
Up arrow icon