Hi there.. I have been googling on this one... I have a ComboBox that has an
ArrayCollection for a dataSource.

Now my ArrayCollection is from a MySQL query.... Now since the ComboBox
control expects the data to have a label field and a data field ­ it is
obviously seeing my result as [Object], [Object].

Now I know I can change the label field using:

labelField="@category"

Now how can I do the same for the data field?

My database is passing back one called ³category² (using that for the
label), and one called ³id² (using that one for the data).

Do I have to somehow write a function to convert the ³id² to ³data²?

DNK

Reply via email to