October 14, 2019, 09:12:24 AM

See more Support incidents in our old archived forum.

Author Topic: Expand/Collapse activity at runtime  (Read 233 times)

dniezgoda

  • Customers
  • Newbie
  • *
  • Posts: 25
Expand/Collapse activity at runtime
« 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.

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 114
Re: Expand/Collapse activity at runtime
« Reply #1 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