This compilation error is because 'one' and 'two' are texts not the
IFactory type.

Try writing this: (new ClassFactory(one)),(new ClassFactory(two)). I
dont know if it would help you as i also haven't tried it. But it will
surely take off the mentioned compilation error.

HTH,

-Ravi

On Jun 1, 9:19 am, Karthik K <cse.k.kart...@gmail.com> wrote:
> hi Sankar Swaroop
>
> Thank you
>
> below is my sample datagrid i am using just say , i am  right or wrong
>
> <mx:DataGridColumn dataField="ename" visible="false"
>  editorDataField="text" itemRenderer="one,two"/>
>
> compilation error
>
> Initializer of 'itemRenderer': cannot parse value of type mx.core.IFactory
> from text one,two
>
> <mx:DataGridColumn dataField="ename" visible="false"
>  editorDataField="text" itemRenderer="one;two"/>
>
> compilation error
>
> Initializer of 'itemRenderer': cannot parse value of type mx.core.IFactory
> from text one;two
>
> Any Help
>
> --
> Karthik.k
> Mobile - +91-9894991640http://kkarthikresume.blogspot.com/
>
> On Mon, Jun 1, 2009 at 12:25 AM, sankar swaroop <sankaras...@gmail.com>wrote:
>
>
>
> > Hi kartik,
>
> > we can assign any number of item renderers to a datagrid column.
> > just seperate each with semi colon or i think ','(coma).
>
> > Thanks...
>
> > On Thu, May 28, 2009 at 1:13 PM, Karthik K <cse.k.kart...@gmail.com>
> > wrote:
> > > hi guys
>
> > > i have one doubt
>
> > > can we use two item renderer for one datagrid column
> > > any possibilities
>
> > > why i am asking this because
>
> > > during drag and drop i need one itemrenderer and during application
> > > initialization i need another
>
> > > any possibilities
>
> > > please help
>
> > > --
> > > Karthik.k
> > > Mobile - +91-9894991640
> > >http://kkarthikresume.blogspot.com/
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to