Flex 3 Item renderer in List dissapear and shifted place


i added itemrenderer in list whenever scroll down bottom , scroll again. itemrenderer in list either gone or shifted places.

i have search on possible solution doesn't seen working. tried put datachange=”validatenow()” in itemrenderer doesn't work. read usevirtuallayout="false" seen list doesn't have usevirtuallayout ?

<mx:list 
       
id="rowslist2" width="{vboxcall.width}" height="{ scheduleviewerheight }"
       
rowheight="{ scheduleviewer.rowheight }"
       
verticalscrollpolicy="off" verticalalign="middle"
        
horizontalscrollpolicy="off"
       
alternatingitemcolors="[0xeeeeee, 0xdfdfdf]" itemrenderer="rendererstate">
       
<!-- example showcase item renderer -->
       
<mx:dataprovider>
           
<mx:object label="mr swabby"
                      
data="juneau"
                      
webpage="http://www.state.ak.us/"/>
           
<mx:object label="mrs harrington"
                      
data="montgomery"
                      
webpage="http://www.alabama.gov/" />
       
</mx:dataprovider>
   
</mx:list>

before (picture) http://i.stack.imgur.com/vxoep.gif

after (picture) http://i.stack.imgur.com/3qho9.gif

any ideas ?

regards, mike

usevirtuallayout spark list.  issue sounds recycling problem.  see item renderer posts on blog.

 

--

alex harui

flex sdk team

adobe systems, inc.

http://blogs.adobe.com/aharui



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support