1. #1
    Sencha User
    Join Date
    Mar 2011
    Location
    Germany
    Posts
    118
    Answers
    6
    Vote Rating
    0
    da_b0uncer is an unknown quantity at this point

      0  

    Default Unanswered: Events in columns after DOM is created?

    Unanswered: Events in columns after DOM is created?


    I need an event, which gets fired after all renderer method return values have been rendered on page.

    My renderer returns a string, which is a div definition

    return '<div id="MyColumn' + record.id + '" />';

    after the page is done I can find these with the browsers dev-tools, but when I use the render or afterrender events of this column object, to "Ext.get()" these divs, they aren't there when it fires.

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    5,021
    Answers
    385
    Vote Rating
    183
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    What if you used the boxready event with a buffer of 50ms?

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Location
    Germany
    Posts
    118
    Answers
    6
    Vote Rating
    0
    da_b0uncer is an unknown quantity at this point

      0  

    Default


    Timeouts are a bad idea.

  4. #4
    Sencha User
    Join Date
    Oct 2009
    Posts
    95
    Answers
    3
    Vote Rating
    1
    Albareto is on a distinguished road

      0  

    Default


    If you do it in your Store's load event, as far as I can see, it will trigger after all the rows have been rendered. Give it a try...

Thread Participants: 2