1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    26
    Vote Rating
    0
    runnersixty is on a distinguished road

      0  

    Default how to fire button click

    how to fire button click


    needing to fire click event for a button i didn't see from api a button.click() or similar.
    I found that button.handler() does the job.
    Now: is this a workaround or it's the correct way to call the click event ?
    Thanks

    p.s. it's easy to define the handler in a normal (not anonymous) function, but this is a question just for learning.

  2. #2
    Ext User
    Join Date
    Apr 2007
    Posts
    379
    Vote Rating
    0
    sfwalter is on a distinguished road

      0  

    Default


    you could also do:

    someButton.fireEvent("click");

  3. #3
    Ext User
    Join Date
    Oct 2007
    Posts
    26
    Vote Rating
    0
    runnersixty is on a distinguished road

      0  

    Default


    thanks. It was so obvious......

Thread Participants: 1

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