Solved

Flex Tree Scrolling issue

Posted on 2008-10-17
2
690 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
ngiamouris earned 250 total points
ID: 22769508
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
Suggested Courses

636 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