Just walk the children() and pull the name() and add it to an array

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of cox.blair
Sent: Tuesday, August 26, 2008 9:19 AM
To: [email protected]
Subject: [flexcoders] Combobox to show table columns?

 

Just wonder if anyone has a trick to dynamically populate a combobox
with the column labels of a table or XML source. I seem to only manage
to retrieve the values of the rows, not the actual column name. I know
I manually list them, but this defeats the purpose if the table were
to change.

Ex. So instead of showing the value ALB_RLU, I want ALB_RLU to be a
selection in the combobox.

<response>
&#8722;
<data>
&#8722;
<row>
<idATP_Calc>82</idATP_Calc>
<UC1/>
<ALB_RLU>33321.0000</ALB_RLU>
<ALB_ATP>213213.0000</ALB_ATP>
<ALC_RLU>213.0000</ALC_RLU>

Thanks,

 

Reply via email to