Support Forum
Hello,
we have successfully ported the Gantt.widget.Timeline to the Scheduler component. We were now wondering if it is possible to make it somehow collapsible.
Could we use a Grid.view.SubGrid component in our main Scheduler object to do so? For the moment our Scheduler Timeline is simply rendered within a div on top of the main Scheduler.
Thanks in advance,
Gaetano
Collapsible concept does not yet exist in our released version. But you can of course just set height to 0 to achieve this effect. Ticket to track: https://github.com/bryntum/support/issues/914
Hi Mats,
thanks for the tip. I have indeed created a toggle button for showing/hiding my scheduler timeline. However I have an issue when the timeline height is 0 upon load: apparently a non-zero height is required to enable the timeline construction when we load the page the first time:
For the moment my workaround is just to show the timeline by default on the page. Can you suggest something with respect to that?
Best,
Gaetano