Dirk: Thanks for your response. But, it still does not work:
event.target.setStyle("color", "Red"); : this colors the whole grid
event.target.cellEditor.setStyle("color", "Red"); : has no effect,
i.e. nothing gets colored
any ideas ?
--- In [email protected], "Dirk Eismann" <[EMAIL PROTECTED]> wrote:
> To access the cellEditor itself try
>
> event.target.cellEditor.setStyle("color", "Red");
>
> Dirk.
>
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED]
> > Behalf Of sanjayd
> > Sent: Tuesday, April 26, 2005 5:04 PM
> > To: [email protected]
> > Subject: [flexcoders] how to access the cell inside the
> > cellEditHandler
> > for a grid ?
> >
> >
> >
> >
> > Hi.
> >
> > on a cellEditHandler for a grid, I want to change the color of the
> > cell to red. When I try this:
> >
> > event.target.setStyle("color", "Red");
> >
> > it changes the color of the whole grid..I just wanted to change the
> > color of the cell, not the whole grid !!
> >
> > Can somebody point out my mistake ?
> >
> > Thanks - Sanjay
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
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/