Thanks all of you. By the way, there are some method which can
work for Both Flex 1.5 and Flex 2?
capho
--- In flexcoders@yahoogroups.com, <[EMAIL PROTECTED]> wrote:
>
> I think you need to have your renderer implement one of the
interfaces like
> mx.controls.listClasses.IDropInListItemRenderer but not 100 percent
sure.
> it might give you somewhere to look..
>
> >
> >
> >
> > I assume you are not using Flex 2 as I am pretty sure
setPropertiesAt is
> > no longer supported. But even in 1.5, setPropertiesAt can only be used
> > to set a very small amount of styles/properties. Color I know is
not one
> > of them. You can set backgroundColor, icon and maybe one or two
others.
> >
> > Otherwise, probably best to use a customer cellRenderer that
contains a
> > method which updates that cell's styles on edit, etc..
> >
> > Hope that helps.
> >
> > Karl
> >
> > Karl Johnson
> > Cynergys Systems, Inc.
> >
> > -----Original Message-----
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of sinacapho
> > Sent: Monday, May 22, 2006 9:42 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] DataGrid cell edit and Row color problem
> >
> > Dear all,
> >
> > i have need to change
> > the row color after the one of the cell have been edit. people
says that
> > it can use
> >
> > dg.setPropertiesAt(2,
> > {backgroundColor:0xFF0000});
> >
> > i find it work
^_^, but
> > i have also add other properties by
> >
> > 1) dg.setPropertiesAt(2, {backgroundColor:0xFF0000,color:0xFFFFFF});
> >
> > 2) dg.setPropertiesAt(2, {backgroundColor:0xFF0000});
> > dg.setPropertiesAt(2, {color:0xFFFFFF});
> >
> > 3) updated_style.backgroundColor = "0xFF0000";
> > updated_style.color
> > = "0xFFFFFF";
> > updated_style.fontStyle =
> > "italic";
> >
> >
> > dg.setPropertiesAt(2,updated_style);
> >
> > only the backgroundColor change , is that any method?
> >
> > thx
> > capho
> >
> >
> >
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> > --------------------~--> Protect your PC from spy ware with award
> > winning anti spy technology. It's free.
> > http://us.click.yahoo.com/97bhrC/LGxNAA/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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > SPONSORED LINKS
> >
> >
> >
> >
> > Web site design development
> >
> >
> > Computer software development
> >
> >
> > Software design and development
> >
> >
> >
> >
> > Macromedia flex
> >
> >
> > Software development best practice
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > YAHOO! GROUPS LINKS
> >
> >
> >
> > Visit your group "flexcoders" on the web.
> > To unsubscribe from this group, send an email
> > to: [EMAIL PROTECTED] Your use
> > of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >
> >
> >
> >
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.