bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
54 stars 6 forks source link

Show tooltip for TimeRanges elements in timeline, not only in the header #9623

Open marciogurka opened 4 months ago

marciogurka commented 4 months ago

Forum post

"Hi,

is it possible to show the tooltip of a time range when hovering over its body? Currently, it's only shown when hovering over the header of the time range, but we need the headers not to be shown."

We had a workaround suggested here https://github.com/bryntum/support/issues/1069 which doesn't work anymore.

The goal is to access this demo https://bryntum.com/products/scheduler/examples/timeranges/ and add the following snippet

new Tooltip({
    forSelector: '.b-sch-timerange',
    getHtml: () => {
        return 'Test!'
    }
})

and then have the tooltip displayed when hovering any timerange in the timeline.

hovering-timerange not-hovering-timerange

FritschP commented 1 week ago

Any update on this?