I’ve done individual cell color by using a cell renderer, I’m not sure you can affect it just by changing a property.

 


From: [email protected] [mailto:[email protected]] On Behalf Of bhaq1972
Sent: Wednesday, October 12, 2005 11:25 AM
To: [email protected]
Subject: [flexcoders] Re: How to selectively color specific rows in a data grid

 

Hey Matt

have you got anything where i can color blocks of cells in a column.

eg
i want to color the cells {itemIndex:1 columnIndex:1}, {itemIndex:2
columnIndex:1}, and {itemIndex:3 columnIndex:1} red

i'm trying to create a something like a diary/calender for booking
offices. where col0 = time slots
col1 = room1
col2 = room3 etc

has anyone done anything like this.

thanks
bod(bhaq1972)









--- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]>
wrote:
>
> From Deepa way back in the day:
>

>
> <?xml version="1.0" encoding="utf-8"?>
>
> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
>

>
> <mx:Script>
>
>             var dp = [{Title: "Email", Date: "November"}, {Title:
> "View", Date: "May"}, {Title: "View", Date: "May"}, {Title: "View",
> Date: "May"}];
>
> </mx:Script>
>

>
> <mx:DataGrid id="dg" width="300" height="250" dataProvider="{dp}"
> creationComplete="dg.setPropertiesAt(3,
{backgroundColor:0xFF0000});"/>
>

>
> </mx:Application>
>

>

>
> Matt
>

>
> ________________________________
>
> From: [email protected]
[mailto:[email protected]] On
> Behalf Of greenfishinwater
> Sent: Wednesday, October 12, 2005 10:37 AM
> To: [email protected]
> Subject: [flexcoders] How to selectively color specific rows in a
data
> grid
>

>
> I have a remote object returning a set of rows to display in a data
> grid. One of the returned rows is a flag (0 or 1) indicating that a
> monitored column in the grid has a value that is of special
interest.
> When a row has the flag set, I want the whole row to be of a
different
> color.
>
> What is the best way, I initially looked at some examples of a cell
> renderer, but was put off by the complexity. Is there an easier
way?
>
> Thanks Andrew
>
>
>
>
>
>
> --
> 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
>

>
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>        
> *      To unsubscribe from this group, send an email to:
>       [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe>
>        
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> .
>

>
> ________________________________
>







--
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