1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    srilanka
    Posts
    18
    Vote Rating
    0
    jeewiya is on a distinguished road

      0  

    Default Unanswered: Extjs4 display tooltip for disabled button

    Unanswered: 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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,327
    Answers
    3540
    Vote Rating
    850
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Please post into the appropriate forum. I have moved this to the Ext JS 4 Q&A forum for you.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    31
    Vote Rating
    1
    freshyseth is on a distinguished road

      0  

    Default


    Bump!

  4. #4
    Sencha User commanche's Avatar
    Join Date
    Jun 2008
    Location
    Prague, Czech Republic
    Posts
    20
    Vote Rating
    3
    commanche is on a distinguished road

      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