1. #1
    Sencha User lordmax's Avatar
    Join Date
    Jul 2009
    Location
    Turin, Italy
    Posts
    7
    Vote Rating
    0
    lordmax is on a distinguished road

      0  

    Default events order

    events order


    Hi to all

    There is a way to know the exact events order fired by extjs?

    obviously afterrendere came after render but show?
    It seem that show happens after afterrender but I've no idea of the correct order of events.

    Thanks

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,502
    Vote Rating
    48
    Animal has a spectacular aura about Animal has a spectacular aura about

      -1  

    Default


    Show happens when a Component is shown.

    And obviously, a Component has to be rendered before it is shown. Stands to reason don't you think?

  3. #3
    Sencha User lordmax's Avatar
    Join Date
    Jul 2009
    Location
    Turin, Italy
    Posts
    7
    Vote Rating
    0
    lordmax is on a distinguished road

      0  

    Default


    Quote Originally Posted by Animal View Post
    Show happens when a Component is shown.

    And obviously, a Component has to be rendered before it is shown. Stands to reason don't you think?

    Ohhh Yeah

    But my answer is: there is an events order, what it is?

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    91
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      1  

    Default


    The event order isn't documented AFAIK.

    You either have to read trough the code to find the event order or simply attach event handlers and try it out.

  5. #5
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,502
    Vote Rating
    48
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Why is it an issue?

  6. #6
    Sencha User jojopad's Avatar
    Join Date
    Aug 2012
    Location
    Manila, Philippines
    Posts
    6
    Vote Rating
    3
    jojopad is on a distinguished road

      1  

    Default


    Quote Originally Posted by Condor View Post
    The event order isn't documented AFAIK.

    You either have to read trough the code to find the event order or simply attach event handlers and try it out.
    Same sentiment here (surprisingly 3 years have passed since the original post and not a single documentation can be found). A short official documentation on this would be extremely helpful for users so they can get up to speed on how the event order sequence are expected to work.
    It's not what you think. It's how you think.

  7. #7
    Ext JS Premium Member
    Join Date
    Feb 2009
    Posts
    4
    Vote Rating
    -1
    hayangae is an unknown quantity at this point

      -1  

    Default I 100% agree with you.

    I 100% agree with you.



    Lack of such information make new users stop using EXTJS.