-
27 Nov 2012 8:12 AM #1
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.Using Ext JS 4.1 (commercial) to build GUIs for web analytics.
-
27 Nov 2012 10:32 PM #2
What if you used the boxready event with a buffer of 50ms?
-
28 Nov 2012 2:19 AM #3
Timeouts are a bad idea.
Using Ext JS 4.1 (commercial) to build GUIs for web analytics.
-
28 Nov 2012 3:09 AM #4
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...


Reply With Quote