30 Oct 2012 1:15 PM #1
Unanswered: 2.1.0-rc2 NestedList list item HTML has not been created when listchange fires
In 2.0, when a NestedList listchange event fires, the HTML for all the List Items has already been created and can be queried using list.query(). (where "list" is the List passed as the second parameter of listchange)
However, in 2.1.0-rc2, the basic HTML has been created, but the list items have not been populated.
We use this event to query the list items and make some changes to their CSS classes.
What event can we use that will be fired AFTER the list items are populated?
Is this possibly what the List itemindexchange event is for?
Last edited by drb; 30 Oct 2012 at 2:39 PM. Reason: itemindexchange question?
1 Nov 2012 5:28 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I would think the refresh event on the list would work with order after. Do note that the infinite list does have have a 1:1 relationship between element and record.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 email@example.com
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.