View Full Version : Tooltip for checkbox

9 Feb 2011, 7:10 AM

I put a checkbox on my page and now I'd like to have a short description, when some moves mouse over (like the tooltip for grid columns).

When I do the following:

xtype: 'checkbox',
boxLabel: 'Text next to the box',
tooltip: 'Longer description for the checkbox',
name: 'myFirstCheckbox',
id: 'idForMyFirstCheckbox',
checked: true

When I mouve the mouse over the checkbox I don't see my description. Now I googled and found a theme from this forum where I read, the tooltip has to be put inside a listener?! But I couldn't find any example.

May someone show me a (working) example how such a checkbox with tooltip has to look like?

This would be very kind.

Thanks and best wishes,