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

