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,
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; i have need to change
the row color after the one of the cell have been edit. people says that
it can use
nbsp;nbsp;nbsp;nbsp; dg.setPropertiesAt(2,
{backgroundColor:0xFF});
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; i find it work ^_^, but
i have also add other properties by
1) dg.setPropertiesAt(2, {backgroundColor:0xFF,color:0xFF});
2) dg.setPropertiesAt(2, {backgroundColor:0xFF});
nbsp;nbsp; dg.setPropertiesAt(2, {color:0xFF});
3) updated_style.backgroundColor = quot;0xFFquot;;
nbsp;nbsp; updated_style.color nbsp;nbsp;nbsp;nbsp;nbsp;
nbsp;nbsp;nbsp;nbsp;nbsp; = quot;0xFFquot;; nbsp;nbsp;
updated_style.fontStyle nbsp;nbsp;nbsp;nbsp;nbsp; =
quot;italicquot;; nbsp;nbsp;nbsp;nbsp;nbsp;
nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;nbsp;nbsp;
nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;
dg.setPropertiesAt(2,updated_style);
only the backgroundColor change , is that any method?
thx
capho
Yahoo! Groups Sponsor
~--gt; 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
~-gt;
--
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
nbsp;Visit your group flexcoders on the web.nbsp;
nbsp;To unsubscribe from this group, send an email
to:nbsp;[EMAIL PROTECTED]nbsp; nbsp;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.