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.
Unfortunately, activation email could not send to your email. Please try again.

Set Gantt property dynamically

Thread ID:

Created:

Updated:

Platform:

Replies:

120873 Oct 23,2015 10:19 AM Oct 28,2015 07:23 AM ASP.NET MVC 3
loading
Tags: Gantt
Prasanth
Asked On October 23, 2015 10:19 AM

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.

Regards
Prasanthan

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

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.

Regards,
Dinesh kumar.N

Prasanth
Replied On October 27, 2015 01:59 AM

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 :-).

Regards
Prasanthan

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

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.


Regards,

Dinesh kumar.N


CONFIRMATION

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.

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.

;