1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    Taiwan
    Posts
    62
    Answers
    1
    Vote Rating
    1
    cwtuan is on a distinguished road

      0  

    Default Unanswered: How to show tooltip on disabled button?

    Unanswered: How to show tooltip on disabled button?


    Showing tooltip on a button is easy.
    But it doesn't work when the button is disabled.
    Does everyone know how to make it possible?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,637
    Answers
    613
    Vote Rating
    400
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    This does not work for you?

    Code:
    Ext.QuickTips.init();
     
    Ext.create('Ext.Button', {
        text: 'Click me',
        tooltip: 'My Tip',
        disabled: true,
        renderTo: Ext.getBody(),
        handler: function() {
            alert('You clicked the button!');
        }
    });
    Scott.

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Location
    Taiwan
    Posts
    62
    Answers
    1
    Vote Rating
    1
    cwtuan is on a distinguished road

      0  

    Default


    No, it does not work. The tooltip will not show when button is disabled.
    It work fine when button is enabled.
    I have tested it on FF13 and chrome 19

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,637
    Answers
    613
    Vote Rating
    400
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    What version of ExtJS are you using?

    Shown using 4.1, 4.1.1:
    f226765.png

    Scott.

  5. #5
    Sencha User
    Join Date
    Sep 2011
    Location
    Taiwan
    Posts
    62
    Answers
    1
    Vote Rating
    1
    cwtuan is on a distinguished road

      0  

    Default


    I use ExtJS 4.1.

  6. #6
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,637
    Answers
    613
    Vote Rating
    400
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    There are several options since I am unable to reproduce this on my end.

    -Download 4.1.1 RC2 to see if there is any change
    -Upgrade your browser versions to the latest
    -Provide us with the OS you are using
    -Have you tried it on another system to out of curiosity?

    Scott.

  7. #7
    Sencha User
    Join Date
    Sep 2009
    Location
    Providence, RI
    Posts
    5
    Vote Rating
    0
    teaganrichat is on a distinguished road

      0  

    Default


    Seems to be an issue with FF (16). Both Chrome (22) and oddly enough IE 9 seem fine.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar