That is clear.  The general solution is to bind the dependant combo
box's dataProvider to the selectedItem in its precedent control, or to
have the change event of each combo box set the dataProvider for the
dependant control.  The exact implementation depends on several factors.

 

How is your data organized, and how are you getting it from the server?
Specifically, does each comboBox selection need to trigger a data
service call to get the result data for the dependent combo?  Or can you
get all the data or parts of the data at once?

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of dranoel1967
Sent: Thursday, December 28, 2006 5:38 PM
To: [email protected]
Subject: [flexcoders] Multiple ComboBox Selection and Tree from XML

 

Multiple ComboBox Selection from XML

Okay, I am looking for some help, or an example even a nod in the right
direction wouldl be 
much appreciated.

I have three combo boxes and a tree that I need to populate from an XML
file.The first 
combox 1 will need to have data ready for selection upon load. Then
combobox 2 will then 
be populated with all associated child nodes from the selection in
combobox 1, and 
combobox 3 will then be populated with all associated child nodes from
the selection in 
combobox 2. Once the user makes their final selection in combobox 3 the
tree will be 
populated with that childs data.

I am sure that this is as clear as mud! :)

Being very new to xml and Flex any examples and or suggestions would be
great.

Best Regards,

Dranoel

 

Reply via email to