Our state of the art Gantt chart


Post by akuang »

Hello,

For the gantt UI, there is a left grid of tasks and a right grid of the calendar/schedule, and then a divider line that the user can drag left/right to move the schedule region larger/smaller.

Is there a way to programatically trigger actions of the the "click > to close" and "click < to open" buttons that are within that divider line?

I'd like to trigger that same "open/close schedule region" behavior but from outside of the bryntum UI, i.e. via some buttons that I have wrapping the embedded gantt UI.

Thanks!


Post by mats »

Sure, try 'locked' and 'normal' subgrid properties:

gantt.subGrids.locked.collapsed = true

Docs: https://bryntum.com/docs/scheduler/#Grid/view/SubGrid#property-collapsed


Post by akuang »

That's great! Thanks!


Post Reply