PDA

View Full Version : Checkbox with Tooltip in Architect



Solitaer
8 May 2015, 2:30 AM
Hey,


Is it possible to give a checkbox a tooltip?
:-?

tristan.lee
11 May 2015, 5:25 AM
On your checkbox component, add an afterrender event handler like so:


afterrender: function(c) {
Ext.create('Ext.tip.ToolTip', {
target: c.getEl(),
html: 'I\'m a tooltip'
});
}

Solitaer
11 May 2015, 10:29 PM
Yes, perfect. THX!