1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    Boston
    Posts
    145
    Vote Rating
    6
    Answers
    5
    drb is on a distinguished road

      0  

    Default Unanswered: 2.1.0-rc2 NestedList list item HTML has not been created when listchange fires

    Unanswered: 2.1.0-rc2 NestedList list item HTML has not been created when listchange fires


    2.1.0-rc2.

    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?

    Thanks
    David
    Last edited by drb; 30 Oct 2012 at 2:39 PM. Reason: itemindexchange question?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    872
    Answers
    3566
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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 @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.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.

Thread Participants: 1

Tags for this Thread