Set format date yyyy-MM-dd for editType='datepickeredit'

Hi,
After choosing date from ejs-grid e-column:
<e-column field='expirationDate' headerText='Data ważności' clipMode='EllipsisWithTooltip' width=90 textAlign="center" editType='datepickeredit' format='yyyy-MM-dd' ></e-column>

i want to show to the user date format like: yyyy-MM-dd but it shows like this (first row):
I want to show the date like 2020-07-07. How to achieve that?


3 Replies 1 reply marked as answer

RR Rajapandi Ravi Syncfusion Team July 8, 2020 12:08 PM UTC

Hi Karol, 

Greetings from syncfusion support 

Based on your requirement we have prepared a sample and tried to reproduce the reported problem. But after choosing the dates from date columns the Grid display as defined format. Its working fine from our end. Please refer the below sample for more information. 


If you still face the issue, please share the below details that will be helpful for us to provide better solution 

1)    Please share your datasource ,we would like to see on which format you have defined the date for the dateColumn. 

2)   If possible, replicate the issue with our above attached sample. 


Regards, 
Rajapandi R

Marked as answer

KA Karol July 9, 2020 11:26 AM UTC

Hi,
Your sample works fine for me. Thanks for helping me with this problem.

Best Regards,
Karol Lasek


RR Rajapandi Ravi Syncfusion Team July 10, 2020 09:14 AM UTC

Hi Karol, 

We are happy to hear that our suggested solution was works fine from our end. 

Please get back to us if you need further assistance. 

Regards, 
Rajapandi R 


Loader.
Up arrow icon