React Grid - Pdf export crashes (Uncaught (in promise))

Hi Team,

When I try to pdf export a grid with a date column it crashes. 

Here is a demo stackblitz




3 Replies

PS Pavithra Subramaniyam Syncfusion Team May 25, 2022 11:39 AM UTC

Hi Jonathan,


Thanks for contacting Syncfusion support.


We suggest you set the custom format for the “added_on” column as in the below code to overcome the reported issue.


 

{ field: "added_on"type"date", textAlign: "Left"format:{type'date', format: "d/M/y"} },

 


Please get back to us if you need further as on this.


Regards,

Pavithra S



JD Jonathan De Wet May 25, 2022 10:11 PM UTC

Your solution works perfectly. Thank you



PS Pavithra Subramaniyam Syncfusion Team May 26, 2022 01:42 PM UTC

Hi Jonathan,


We are glad to hear that the provided solution works!


Please get back to us if you need further assistance on this.


Regards,

Pavithra S


Loader.
Up arrow icon