I have a combo box that I am using with in my search results datagrid
that will allow users teh ability to set the side of hte agent being
attached to the file. How can I populate the combobox in the dg with a
simple bindable array I have made. The array is below.
Datagrid:
<mx:DataGrid x="10" y="67" id="ASDG"
width="90%" height="65%">
<mx:columns>
<mx:DataGridColumn
headerText="Name" columnName="FLD_FULLNAME" />
<mx:DataGridColumn
headerText="Company" columnName="FLD_USEREMAIL"/>
<mx:DataGridColumn
headerText="Address" columnName="FLD_ADDRESS"/>
<mx:DataGridColumn
headerText="Agent Id" visible="false"
columnName="FLD_USERLOGIN"/>
<mx:DataGridColumn
headerText="Side" columnName="agentType"
cellRenderer="mx.controls.ComboBox" />
</mx:columns>
</mx:DataGrid>
Array:
public var agentType: Array =[ {label:"Buyer", data:"buyer"},
{label:"Seller", data:"seller"}];
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/