Our state of the art Gantt chart


Post by mkmonisha »

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
splitter.PNG (60.21 KiB) Viewed 145 times

how can I achieve this


Post by marcio »

Hi mkmonisha,

As you mentioned, and in the example, we have set a partner config in the ResourceHistogram

    partner           : gantt,

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)

Best regards,
Márcio


Post by bhavadharanisure »

hi ,
Is there any way we make the splitter alone act independently without removing the below code

partner           : gantt,

as we want the other features to be in sync.

How can restrict the splitter to move independently for gantt and histogram?


Post by tasnim »

Unfortunately, It's not possible without removing the partners.


Post Reply