Gantt Page Parameters

Modified on Tue, 17 Jan 2023 at 01:45 PM

Since: Version 4.6.0

Sometimes you need a Gantt chart to be parametrized by user inputs.  You want users to enter input parameters, for example, "Version Number" to select the planned work items:



Of course, you can implement a Rich Page with Page Parameters on the top:


But this implies that you cannot set the gantt in the Maximized full screen mode and this greatly affects the usability in negative way.


So how to handle  it?


1) Setup a Page 

  1. add Page Parameters widget to the top

  2. add Gantt widget to the page (keep Maximized turned OFF)
  3. add your page parameters
  4. refer to page parameter in your gantt parameters




2) Test the Page that it Works


3) Turn Maximized option




4) Check it out

And now the Settings action appears in the toolbar





Noteyou can also access the Page Parameters via Item Script. In order to get the Page parameter, use the following snippet:

config.getPageParameters().get("pageParamId")




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article