Dear all,

     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,
> >
> > &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:0xFF0000});
> >
> > &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:0xFF0000,color:0xFFFFFF});
> >
> > 2) dg.setPropertiesAt(2, {backgroundColor:0xFF0000});
> > &nbsp;&nbsp; dg.setPropertiesAt(2, {color:0xFFFFFF});
> >
> > 3) updated_style.backgroundColor = &quot;0xFF0000&quot;;
> > &nbsp;&nbsp; updated_style.color &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  = &quot;0xFFFFFF&quot;; &nbsp;&nbsp;
> > updated_style.fontStyle &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  =
> > &quot;italic&quot;; &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




Reply via email to