Hi there,

I got a remoteobject which loads data from an sql table. I got something
like 5 fields for customers.

I want to populate a combobox showing the name of the customer and having
as  a value the customer_id.

After Googling it a bit, I have ended up with this:

<mx:ComboBox id="customer_name" dataProvider="{customerData}"
labelField="customer_name"/>

this works great! But what about the dataField? (at my suprise I have found
out that although a labelField does exist - which is cool, a dataField
attribute does not exist).

How can I bind the customer_id into my combobox? Any ideas?

thanks,
George

Reply via email to