Solved

Flex Tree Scrolling issue

Posted on 2008-10-17
2
689 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Suggested Solutions

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
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 properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
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. …

751 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