Results 1 to 3 of 3

Thread: changing button iconCls from inside handler

  1. #1
    Ext JS Premium Member
    Join Date
    Jun 2011
    Location
    Ottawa, Ontario, Canada
    Posts
    123
    Answers
    4
    Vote Rating
    1
      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,388
    Answers
    716
    Vote Rating
    499
      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
      0  

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •