Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How to iterate items in repeater?   Message List  
Reply | Forward Message #145103 of 149548 |
RE: [flexcoders] How to iterate items in repeater?

If a repeated element has an id, say ¡°myId¡±, you can reference the element using myId[n], where ¡°n¡± is the index of the dataProvider item.

 

But first, do not do your repeated content in-line. Instead, create a component that encapsulates all of the behaviors you want, including the style changes, and repeat that.  You will find this often eliminates the need to iterate the repeated content.

 

Tracy Spratt,

Lariat Services, development services available


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of j2me_soul
Sent: Saturday, July 04, 2009 10:11 PM
To: flexcoders
Subject: [flexcoders] How to iterate items in repeater?

 




I wanna change some specific item's style which inside the repeater component.

How can I iterate the items in the repeater and filtrate them ?





200ÍòÖÖÉÌÆ·,×îµÍ¼Û¸ñ,·è¿ñÓÕ»óÄã



Mon Jul 6, 2009 8:21 pm

nts333rd
Offline Offline
Send Email Send Email

Forward
Message #145103 of 149548 |
Expand Messages Author Sort by Date

I wanna change some specific item's style which inside the repeater component. How can I iterate the items in the repeater and filtrate them ?...
j2me_soul
j2me_soul@...
Send Email
Jul 5, 2009
2:12 am

If a repeated element has an id, say ¡°myId¡±, you can reference the element using myId[n], where ¡°n¡± is the index of the dataProvider item. But...
Tracy Spratt
nts333rd
Offline Send Email
Jul 6, 2009
8:21 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help