Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

JGantt: Allow collapse/expand of trees without allowing resizing/moving graph elements

Hi,

I've made a Gantt with the JGantt component.

The gantt is made up of a table alongside a gantt graph.

The table shows a tree of elements.

I'd like to allow the user to collapse and expand the tree branches in the table without allowing them to resize or move the gantt boxes that are drawn in the graph.

The only way that I've found to allow an user to collapse and expand the table tree is to set Mode as LAYOUT in the UserInterface element, but this has the side effect to allow an user to resize or move the gantt boxes in the graph.

Other more restrictive modes, like SELECTONLY and READONLY, does not allow for collapsing/expanding branches in the table tree.

Can someone help me?

Thank you very much for reading this,

Pietro

Tags:
Former Member
Former Member replied

Solved by using EDITPROPS elements.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question