Our state of the art Gantt chart
Hi ,
In our project we have Gantt and Histogram as partners .
We would like to restrict the movement of the vertical splitter of Gantt in sync with histogram.
that is when I move the vertical splitter in gantt , it should not disturb the splitter in histogram and vise versa.
have attached a picture highlighting the splitter below
- splitter.PNG (60.21 KiB) Viewed 165 times
how can I achieve this
Hi mkmonisha,
As you mentioned, and in the example, we have set a partner config in the ResourceHistogram
To not have that behavior related to the vertical splitter, you can just remove that property.
But be aware, as the documentation says
Partners this Timeline panel with another Timeline in order to sync their region sizes (sub-grids like locked, normal will get the same width), start and end dates, view preset, zoom level and scrolling position. All these values will be synced with the timeline defined as the partner.
https://www.bryntum.com/docs/gantt/api/SchedulerPro/view/ResourceHistogram#config-partner
So you'll need to set these properties manually in both components (Scheduler and ResourceHistogram)
hi ,
Is there any way we make the splitter alone act independently without removing the below code
as we want the other features to be in sync.
How can restrict the splitter to move independently for gantt and histogram?
Unfortunately, It's not possible without removing the partners.