Results 1 to 2 of 2

Thread: Event after all the elements of a list were rendered

  1. #1
    Sencha User DrunkenBeard's Avatar
    Join Date
    May 2011
    Vote Rating

    Default 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 ?


  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    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
    Learn BBCode and use it!

    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.

    Need more help with your app? Hire Sencha Services

    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.

Posting Permissions

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