Tooltip for Events ?

Our Kanban Task Board for easy management of tasks and agile workflows
Post Reply
User avatar
b.wust
Premium Member
Premium Member
Posts: 70
Joined: Fri Mar 11, 2011 12:37 pm

Tooltip for Events ?

Post by b.wust » Wed Feb 05, 2020 11:49 am

Hi,

is it possible to Show Tooltips for Events ?

We Need for every Event a Tooltip that is showing some Special Information for every Event.

I tried to create my own Tooltip with taskmouseenter Event but it is not working very well and is showing the
Tooltip on top of the page.

Code: Select all

    	    	taskmouseenter: function(view, task, taskNode, event, eOpts) {
                    var tt = new Ext.ToolTip({
                        target: view.getEl(),
                        title: ' ',
                        html: Ext.String.escape(task.data.name),                                    
                        autoScroll: true,                    
                        dismissDelay: 0,
                        draggable:true,
                        autoHide: true
                    }).show();  
    	    	}
Is there an easy an easy way to Show Tooltips for Events ?

User avatar
mats
Core Developer
Core Developer
Posts: 15330
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Tooltip for Events ?

Post by mats » Wed Feb 05, 2020 12:48 pm

Yes it's easy, have you seen our custom tooltips demo? https://www.bryntum.com/examples/scheduler/tooltips/
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
b.wust
Premium Member
Premium Member
Posts: 70
Joined: Fri Mar 11, 2011 12:37 pm

Re: Tooltip for Events ?

Post by b.wust » Wed Feb 05, 2020 2:08 pm

Maybe im missing something !?

But it seems that your Example is for the Scheduler.

We Need Tooltips in the TaskBoard.

User avatar
mats
Core Developer
Core Developer
Posts: 15330
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Tooltip for Events ?

Post by mats » Wed Feb 05, 2020 2:31 pm

Ok sorry I misread your title. Please see docs for Tooltip: https://docs.sencha.com/extjs/6.7.0/classic/Ext.tip.ToolTip.html

Look at delegate option and use a 'show' listener to update the tooltip as you need.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

Post Reply