Our state of the art Gantt chart


Post by raju1 »

Hi,

We would like to show a 'Link to Successor' tooltip when we hover over the right dependency terminal but no tooltip should show when we hover over the left dependency terminal.
Any thoughts/suggestions?

terminal tooltip.png
terminal tooltip.png (2.34 KiB) Viewed 583 times

Thanks,
Nagaraju


Post by mats »

You can solve this easily with the https://bryntum.com/docs/gantt/#Core/widget/Tooltip class.

new Tooltip({
    forSelector : '.b-sch-terminal-right',
    html : 'hello world'
});

Post by raju1 »

Thanks, Mat. Its working fine


Post by odiyaerlichster »

Hi,
I'm trying to do the same thing with Scheduler Pro in React, but no tooltips are showing up.


Post by tasnim »

Hi,

Can you please share the code with us?


Post by odiyaerlichster »

     new Tooltip({
            html:'Hello world',
            forSelector:'.b-sch-terminal-right',
          })

      new Tooltip({
        html:'Hello world',
        forSelector:'.b-sch-terminal-left',
      })
    });

I need the tooltips to show up when hovering on each terminal for every event.
If I add autoShow:true, I see the tooltips showing up on the top of the page for a few seconds then disappearing


Post by odiyaerlichster »

My mistake, I had the wrong selectors.
Should be .b-sch-terminal-start and .b-sch-terminal-end


Post Reply