Oops, maybe misread your question.  You are not asking about accessing
deeply nested values, but rather how to set the combobox selectedItem to
match its current value?

 

Or maybe you are just asking about declaring "dataField"?

 

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Monday, May 05, 2008 1:30 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Combo Box trying to get a "deep" data...

 

labelFunction()

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jonese
Sent: Monday, May 05, 2008 12:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Combo Box trying to get a "deep" data...

 

Hey all,

I've got a combo box with a dataprovider set to an array of value
objects. Inside this value object are fields like name, and id. I've
got the "name" as my label field but i'm not sure how to tell Flex
that i want the value object with an id of 3 to be my selectedIndex
value.

thoughts?

-- 
jonese
http://www.jonese.us <http://www.jonese.us> 
http://twitter.com/jonese <http://twitter.com/jonese> 

 

Reply via email to