Re: [flexcoders] ItemRenderer in Actionscript

2009-02-20 Thread Jeffry Houser
You can't directly because there is no way to create a component "on the fly" in actionscript. Create the component (mx:label) as a stand alone file; either with MXML or ActionScript. Then create the DataGridColumn in AS, something like this: var DGC : DataGridColumn = new DataGridColumn

Re: [flexcoders] ITEmRenderer in Actionscript

2009-02-20 Thread Nathaniel Skiba
var dgc:DataGridColumn=new DataGridColumn(); dgc.itemRenderer = new ClassFactory(CheckBox); ~ Nate kotha poornima wrote: > Hi All, > Any idea how the following code using Action script.. > > > Code: > > > > > > > > As it

[flexcoders] ITEmRenderer in Actionscript

2009-02-20 Thread kotha poornima
Hi All, Any idea how the following code using Action script.. Code: As it is in actionscript I dont want to create seperate component... everything i want to write in single file. something like... ActionScript Co

[flexcoders] ItemRenderer in Actionscript

2009-02-19 Thread kotha poornima
Hi All, I want the same functionality as above in Actionscript code. How can i do that. Please help me out of this. Thanks in Advance, Poornima