Our state of the art Gantt chart


Post by mats »

Can you please share a test case / video so we can reproduce this?


Post by marco »

Sure thing....

Video:

recording.mov
(3.94 MiB) Downloaded 4 times

File:

test-app.zip
(13.04 KiB) Downloaded 2 times

In the video you can also see, that it does not always trigger even when the element is hovered.


Post by ghulam.ghous »

Hi Marco,

The reason for the tooltip not being triggered is because you have set the __custom-day as ForSelector for the tooltip. If you inspect the dom and see that __custom-day has very small area and tooltip is only shown on hovering on that area. I would recommend you to changing the forSelector from __custom-day to .b-sch-header-timeaxis-cell and see the improvements there.


Post by marco »

Ok I can see that and that is easily solvable (also by just making the area of __custom-day take the whole space).

The more important topic is about the wrong positioning on the initial render.


Post by ghulam.ghous »

You can specify the position of the tooltip. See the align property for tooltip: https://bryntum.com/products/gantt/docs/api/Core/widget/Tooltip#config-align

You can try out the following options:

align        : 't-b',
align        : 'l-r',

Post by marco »

Seems like align: 't-b', did the trick.
Thank you :)


Post by ghulam.ghous »

Glad to hear that Marco. Good luck with your development


Post Reply