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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set Gantt property dynamically

Thread ID:





120873 Oct 23,2015 02:19 PM UTC Oct 28,2015 11:23 AM UTC ASP.NET MVC 3
Tags: Gantt
Asked On October 23, 2015 02:19 PM UTC

Hi there,

Is there a way to set property dynamically based on let's say current record.  E.g. setting ScheduleStartDate and ScheduleEndDate based on current record (entity) which has start and end date properties.


Dinesh Kumar Nagarathinam [Syncfusion]
Replied On October 26, 2015 05:00 PM UTC

Hi Prasanthan,

Thanks for using Syncfusion Products.

Do you mean the selected row as the current record in your query, and we can change set properties dynamically based on the selected row. Can you please
share more details regarding your query to change the ScheduleStartDate and ScheduleEndDate based on the current record, Currently we have created a
sample for scrolling the task horizontally and focusing it by selecting the row. Please Find the sample from below location.

Sample: http://www.syncfusion.com/downloads/support/forum/120873/ze/GanttSample-1472431935
If this doesn’t meet your requirement please revert to us with more details regarding your requirement.

Dinesh kumar.N

Replied On October 27, 2015 05:59 AM UTC

Hi Dinesh,

Thanks for the reply, makes sense.  Also looks like if we ignore the properties "ScheduleStartDate",   "ScheduleEndDate" they are sort  of automatically calculated for rendering.

All good :-).


Dinesh Kumar Nagarathinam [Syncfusion]
Replied On October 28, 2015 11:23 AM UTC

Hi Prasanthan,

Thanks for your update.

Yes, If we have not provided the values for ‘scheduleStartDate’ and ‘scheduleEndDate’ properties, it will be calculated automatically based on the start date and end date values in the datasource.

Please let us know if you need more information regarding this.


Dinesh kumar.N


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon