Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Flex Tree Scrolling issue

Posted on 2008-10-17
2
Medium Priority
?
691 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 1000 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

664 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