Threaded View
-
3 Apr 2012 4:44 AM #1
Answered: select all tooltip for checkbox model grid panel header.
Answered: select all tooltip for checkbox model grid panel header.
Hi i have a checkboxmodel grid panel, in the header row of the grid i want to have a tooltip for selectall checkbox.
I have no idea on how to tweak the CSS and have nt tried it, hence not posting any code here
kindly assist doing this.
Thanks
Punith
-
Best Answer Posted by mitchellsimoens
Quick little override to support a headerTip:
Code:Ext.define('Override.selection.CheckboxModel', { override : 'Ext.selection.CheckboxModel', headerTip : 'Select All', getHeaderConfig : function() { var ret = this.callOverridden(arguments), headerTip = this.headerTip; if (headerTip) { ret.text = '<div data-qtip="' + headerTip + '" style="width:100%;height:100%;"> </div>'; } return ret; } });


Reply With Quote