Results 1 to 4 of 4

Thread: Extjs4 display tooltip for disabled button

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    srilanka
    Posts
    18
    Vote Rating
    0
      0  

    Default Extjs4 display tooltip for disabled button

    hi,
    when i disable the button it's tooltip also disables. Is there a way to show the tooltip even the button is disabled

    Code:
          //create my button
           var myButton = Ext.create('Ext.Button', {
                tooltip :  'my Button Tooltip Text',
                id : 'my-button ',
                iconCls : 'star-icon',
                handler: Ext.Function.pass(_rmp.mediaManager.myButtonFunction, this)
            });
    
       //disable my button
        Ext.getCmp('my-button').disable();

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    Please post into the appropriate forum. I have moved this to the Ext JS 4 Q&A forum for you.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    31
    Vote Rating
    1
      0  

    Default

    Bump!

  4. #4
    Sencha User commanche's Avatar
    Join Date
    Jun 2008
    Location
    Prague, Czech Republic
    Posts
    21
    Vote Rating
    3
      0  

    Default

    It seems to be a Firefox related problem. In Chrome the tooltip works even when the button is disabled.
    Tested on:
    - Firefox 14 - not working
    - Chrome 21 - working

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
  •