I have a Flex Spark List which can be populated with any number of rows. Each row can have a variable height with a minimum of 50px. I need a way to scroll to the "true" bottom. By true I mean the end of the last row. Since I'm new to AS and Flex, implementation & use code would be appreciated if anything advanced is needed (e.g extending classes etc).
After your list is done rendering, you can try:
yourList.layout.verticalScrollPosition += yourList.layout.getVerticalScrollPositionDelta(NavigationUnit.END);
there's a blog post about it here: http://flexponential.com/2011/02/13/scrolling-to-the-bottom-of-a-spark-list/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With