Results 1 to 2 of 2

Thread: How to add a ToolTip to CheckboxselectionModel class

  1. #1
    Sencha User Sameer Khan's Avatar
    Join Date
    Oct 2011
    Location
    Bangalore, India
    Posts
    115
    Vote Rating
    0
      0  

    Default How to add a ToolTip to CheckboxselectionModel class

    HI, I want to add a tool tip to to the checkbox column header in my gridpanel. This check box was created and added to gridpanel by Checkboxselectionmodel class.
    here in the class Checkboxselectionmodel class there is not support for tooltip.

    Can any one please suggest me how to solve this problem. Please send me some sample code.

    Regards,
    sameer.
    Sameer Khan

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    549
    Vote Rating
    54
      0  

    Default

    One possible solution:
    Code:
    var grid = {
        // GRID CONFIG HERE
        listeners: {
            afterrender: function(thisgrid) {
                var view = thisgrid.getView();
                var chkdiv = Ext.fly(view.innerHd).child(".x-grid3-td-checker").id;
                Ext.QuickTips.register({
                    target: chkdiv,
                    title: 'Title',
                    text: 'Text'
                });
            }
        }
    };

Posting Permissions

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