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:
@(Html.EJ().Gantt("Gantt").
//...
.DateFormat("dd/MM/yyyy") // This date format must match the date format in the datasource
.Datasource(ViewBag.dataSource)
)
@(Html.EJ().ScriptManager())
|
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.
Regards,
John. R