Instances of things created by a Repeater have a getRepeaterItem()
method which gives you the data item for which that instance was
created. They also have two properties -- instanceIndex and
repeaterIndex -- which tell you the data item's index. Does that help?

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rubeel
Sent: Wednesday, May 14, 2008 8:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Repeater Value

 

I am trying to get a value of multiple fields that are repeated in a
repeater outside of the repater when the user clicks on it.

if the repeater is getting results from a datasource, i want them to
click on a result and then it should update the labels outside of the
repeater. i guess i am looking for something similar to the
dg.selectedItem.fieldname

thanx for the help or guidance.

 

Reply via email to