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

How do you set the date range of the Gantt chart?

How do you set the date range of the Gantt chart? I have searched the online documentation and have been unable to find this information. Thanks.

1 Reply

JD Jayakumar Duraisamy Syncfusion Team May 11, 2017 11:45 AM UTC

Hi Mark, 
We can define the project schedule date range by using “ScheduleStartDate” and “ScheduleEndDate” API properties. 
please find the code snippet below. 
<ej-gantt id="ganttSample" datasource="ViewBag.datasource" 
               schedule-start-date="02/23/2014" 
               schedule-end-date="03/10/2014" 
               ///… 
    </ej-gantt>     
Please refer following ASP.NET core sample link with schedule date range. 
Is this your requirement if not please revert us with your exact requirement, it will helpful to serve you better. 
Regards, 
Jayakumar D 


Loader.
Live Chat Icon For mobile
Up arrow icon