We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

how can i change DateFormat from edited start date Gantt


i set the date format like this .DateFormat("dd/MM/yyyy")
but when i try editing the start date on the grid, the datepicker change the date for example (dd/MM/yyyy) 07/08/2015 change to 08/07/2015 (MM/dd/yyyy)

how can i change DateFormat ?

Otto Machado


3 Replies

JR John Rajaram Syncfusion Team February 2, 2015 12:37 PM UTC

Hi Otto,

Thank you for using Syncfusion products.

We would like to let you know that, DateFormat property is used to denote the format of the date that used in the database. So we request you to provide the corresponding date format in the DateFormat property with the format of the Start date and End date values in the database. Please refer the below code snippets for more details.

Code snippets:



   .DateFormat("dd/MM/yyyy") // This date format must match the date format in the datasource





We have also prepared a sample based on this with date format as “dd/MM/yyyy” and you can find the sample under the following location.

Sample Location: http://www.syncfusion.com/downloads/support/directtrac/118034/MVC09NewSampleDateFormat-1216954247.zip

Please let us know if you require further assistance on this.

John. R

OM Otto Moura Machado Filho February 2, 2015 01:06 PM UTC

There is no success on double-click to edit start date or end date. In the example that you send me if i try change the start date, the double-click action change de date value on datepicker. 

Is there a way to fix it?

Otto Machado.

Attachment: gantt_images_2e401ec5.zip

JR John Rajaram Syncfusion Team February 3, 2015 07:19 AM UTC

Hi Otto,
We regret for the inconvenience caused.
We were able to reproduce the issue and we have confirmed this as bug and logged a report on this. Also we have created a support incident under your account to track the status of this issue.

Please log on to our support website to check for further updates.


Please let me know if you have any questions.

John. R

Live Chat Icon For mobile
Up arrow icon