8 Nov 2012 6:38 AM #1
[2.1.0] List events fire before store data is loaded and rendered.
I have a list that uses a store, and in ST2.0.0, the initialize event only ever fired after the store was loaded.
In ST2.1.0, the initialize fires *before* the store is loaded and thus before any list items are rendered.
I'm using the initialize event to do processing of the list rendered list items, and I now have no good way of attaching to that event, it seems.
8 Nov 2012 6:54 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
The initialize event says this in the API Docs:
Fires when the component has been initialized
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
8 Nov 2012 7:49 AM #3
'refresh' is also too early, but the 'updatedata' event fires exactly when I need it to, and semantically, it makes sense to apply my post-processing whenever the data changes.
This *is* a change from ST2.0.0, but it's not a bug. If anything it might be a bugfix.
8 Nov 2012 8:09 AM #4
Actually, this is an issue.
updatedata never fires, and refresh fires too early.