RadiantQ Forum

Product => jQuery Gantt Package => Topic started by: dniezgoda on April 29, 2019, 04:07:07 AM

Title: Expand/Collapse activity at runtime
Post by: dniezgoda on April 29, 2019, 04:07:07 AM
Hi Support team,

can you let me know how to expand/collapse for specific activity?

Thank you in advance.
Title: Re: Expand/Collapse activity at runtime
Post by: Rajagopal on April 29, 2019, 01:50:24 PM
Hi Dniezgoda,

Here is the code for expand/collapse for a specific activity.

Code: [Select]
var ganttcontrol = $gantt_container.data('GanttControl');
var activityView = ganttcontrol.ActivityViews[index];
activityView.IsExpanded = false;
   
Thank You
Raja