I have a datagrid which gets populated with the following function:
private var colHeaders:Array = [{head:'ID',bind:'oid',width:50},
{head:'Loan Number',bind:'loannumber',width:50},{head:'First
Name',bind:'borrowerfirstname',width:45},{head:'Last
Name',bind:'borrowerlastname',width:45},
{head:'Street',bind:'propertystreet'},
{head:'City',bind:'propertycity',width:35},
{head:'State',bind:'propertystate',width:30},
{head:'Zip',bind:'propertyzip',width:30}, {head:'Doc
Count',bind:'childcount',width:45}, {head:'Status',width:45}];
[Bindable]
private var columnArray:Array = [];
private function populateFolders(event:flash.events.Event):void{
var tempHolder:DataGridColumn;
for(var i:Number=0;i<colHeaders.length;i++){
tempHolder = new DataGridColumn(colHeaders[i].bind);
tempHolder.headerText = colHeaders[i].head;
tempHolder.width = (colHeaders[i].width!=null)?colHeaders
[i].width:100;
columnArray.push(tempHolder);
}
}
As shown above, I want to associate a combobox item renderer to the
last col which is 'Status'. Can anyone help me out regd this?
Thanks
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
--
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/