1. #1
    Ext JS Premium Member
    Join Date
    Jun 2011
    Location
    Ottawa, Ontario, Canada
    Posts
    123
    Answers
    4
    Vote Rating
    1
    whalethewise is on a distinguished road

      0  

    Default Unanswered: changing button iconCls from inside handler

    Unanswered: changing button iconCls from inside handler


    Hi

    I am trying to change iconCls for button that just clicked in handler (to show some kind of 'loading' icon telling user that something going on). But nothing changes until handler is finished. Any advise would be greatly appreciate. setLoading () looks ugly on button.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,007
    Answers
    666
    Vote Rating
    459
    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


    Are you loading an AGIF in the button?

    Scott.

  3. #3
    Ext JS Premium Member
    Join Date
    Jun 2011
    Location
    Ottawa, Ontario, Canada
    Posts
    123
    Answers
    4
    Vote Rating
    1
    whalethewise is on a distinguished road

      0  

    Default


    Yes. I am trying to use extjs\resources\themes\images\default\tree\loading.gif

Thread Participants: 1