22 Nov 2012 3:06 AM #1
Event after all the elements of a list were rendered
I'm trying to scroll to an element of a list after it is rendered (there is no tap events involved or any interaction with the user whatsoever, the list should just scroll to a certain element immediately after being rendered). In other words I need to listen to some event that is fired after all the elements of the list have been rendered and then scroll. The only event that I have found so far is "painted" but it fires before any elements were rendered.
Any ideas ?
24 Nov 2012 6:09 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I usually use the refresh method, it will fire before the list is populated so you have to check this but it will fire after the store is loaded.Mitchell Simoens @LikelyMitch
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.