Thanks Derek - I realised I'd missed the List class just before I read your
reply. For various reasons I think something like...
my_datagrid.setPropertiesAt(rowNumber,{backgroundColor:0 xFF0000});
is going to work better for my purposes but I'll give your suggestion a go
if it doesn't work as I want it to.
A.
On 3/10/06, Derek Vadneau <[EMAIL PROTECTED]> wrote:
>
> Check the styles for superclasses of components as well:
> myDataGrid.setStyle('alternatingRowColors', [0xE0E0E0, 0xFFFFFF]);
>
> alternatingRowColors comes from List.
>
> Set an array with the colours you want.
>
>
> Derek Vadneau
>
> ----- Original Message -----
> From: "Adrian Park" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, March 10, 2006 8:12 AM
> Subject: [Flashcoders] DataGrid rows with unique background colours?
>
>
> I'm working on an app' that uses the Datagrid component. It would make my
> client very happy if I could apply unique colours to individual rows in
> the
> datagrid and it would enhance the user exeprience of the app' if it were
> possible. Looking through the documentation, I can't find any way of
> directly referencing a row or cell in the DataGrid so that's the first
> problem. If I could get that reference, the next problem is how to apply
> the
> colour to the background but I'm less worried about that as I'm sure I can
> figure that out.
>
> Anyone know how I might be able to do this?
>
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com