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

the_cymanAsked:
Who is Participating?
 
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
 
vindys80Commented:
Hi,

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

Thanks,
Vindys
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.