Results 1 to 3 of 3

Thread: select all tooltip for checkbox model grid panel header.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    64
    Answers
    2
    Vote Rating
    0
      0  

    Default 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

  2. 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%;">&nbsp;</div>';
            }
    
            return ret;
        }
    });

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •