RE: [flexcoders] adding columns to datagrid programmatically

2008-02-26 Thread Alex Harui
var newCols:Array = new Array(); var dgc:DataGridColumn = new DataGridColumn() dgc.dataField = someProperty; dgc.itemRenderer = new ClassFactory(LinkButton); newCols.push(dgc); var dgc:DataGridColumn = new DataGridColumn() dgc.dataField = someProperty; dgc.itemRenderer = new

Re: [flexcoders] adding columns to datagrid programmatically

2008-02-26 Thread [p e r c e p t i c o n]
thanks much...more questions... how do you set the event handlers and data providers of these... and one last thing... i've put a checkbox in one column, but it only shows up after i attempt to edit...how do i fix this? thanks again cheers percy On Tue, Feb 26, 2008 at 9:29 PM, Alex Harui

RE: [flexcoders] adding columns to datagrid programmatically

2008-02-26 Thread Alex Harui
:[EMAIL PROTECTED] On Behalf Of [p e r c e p t i c o n] Sent: Tuesday, February 26, 2008 10:33 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] adding columns to datagrid programmatically thanks much...more questions... how do you set the event handlers and data providers

Re: [flexcoders] adding columns to datagrid programmatically

2008-02-26 Thread [p e r c e p t i c o n]
] *On Behalf Of *[p e r c e p t i c o n] *Sent:* Tuesday, February 26, 2008 10:33 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] adding columns to datagrid programmatically thanks much...more questions... how do you set the event handlers and data providers