Solved

Flex Tree Scrolling issue

Posted on 2008-10-17
2
682 Views
Last Modified: 2012-05-05
When I add checkboxes to a flex Tree component and scroll the scrollbar up and down continuously some of the items appear checked without my initiating the check and then if I continue the scrolling some of the checked items will eventually uncheck.  Has anyone encountered this behavior and is there a programmatic way to resolve this?
0
Comment
Question by:Sar975
2 Comments
 
LVL 4

Accepted Solution

by:
ngiamouris earned 250 total points
Comment Utility
Not sure what you mean by "adding checkboxes", but you should bear in mind that most list based Flex controls use renderer recycling when you scroll in order to limit memory usage. Hence, if you're setting stuff on your renderer based on some logic that resides elsewhere, these properties will not get updated when you scroll.

The solution:
You need to implement IDropInListItemRenderer in your renderer and make sure that all updates are "fed" by the listData property.

Check
http://livedocs.adobe.com/flex/3/langref/mx/controls/listClasses/IDropInListItemRenderer.html
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now