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

      0  

    Default 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,315
    Vote Rating
    485
    Answers
    703
    scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute

      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
    Vote Rating
    1
    Answers
    4
    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