• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 913
  • Last Modified:

TileList items change after scrolling in Flex?

Hi there,

We are using an tileList in Flex and we have it binded to some data. PROBLEM: We set up the data to display in a certain way, but then when we scroll down, and then back up, the item CHANGES!

For example, we want a button to appear only if the object has a certain property. It appears at first, but after scrolling, disappears. See code below!!

<mx:Button label="Confirm" id="conf" visible="{data.type == 'confirm' &amp;&amp; this.hasNotConfirmed()}" includeInLayout="{data.type == 'confirm' &amp;&amp; this.hasNotConfirmed()}" width="100" fontSize="9" fontWeight="bold" color="#588E12" fillAlphas="[1.0, 1.0]" fillColors="[#EDC9C9, #EDC9C9]" height="20"  useHandCursor="true" buttonMode="true"/>

Open in new window

0
the_cyman
Asked:
the_cyman
  • 2
1 Solution
 
vindys80Commented:
Hi,

Can you post code of tileList? Is button part of tieList as itemRenderer. It might be some validation issue.

Thanks,
Vindys
0
 
vindys80Commented:
Hey,

I think I read some similar thing on my google.

I think this should help you.
http://blog.152.org/2009/11/flex-tilelist-cell-switching-problem.html
http://groups.google.com/group/flex_india/browse_thread/thread/e8a4ff800cb78537

Thanks,
Vindys
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now