Results 1 to 2 of 2

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

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    Boston
    Posts
    149
    Answers
    5
    Vote Rating
    7
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •