[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? ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] DataGrid rows with unique background colours?
Check the styles for superclasses of components as well: myDataGrid.setStyle('alternatingRowColors', [0xE0E0E0, 0xFF]); alternatingRowColors comes from List. Set an array with the colours you want. Derek Vadneau - Original Message - From: Adrian Park [EMAIL PROTECTED] To: Flashcoders@chattyfig.figleaf.com 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? ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] DataGrid rows with unique background colours?
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 xFF}); 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, 0xFF]); alternatingRowColors comes from List. Set an array with the colours you want. Derek Vadneau - Original Message - From: Adrian Park [EMAIL PROTECTED] To: Flashcoders@chattyfig.figleaf.com 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? ___ Flashcoders@chattyfig.figleaf.com 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 ___ Flashcoders@chattyfig.figleaf.com 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
Re: [Flashcoders] DataGrid rows with unique background colours?
Hi Adrian - the $5 datagrid extensions at http://www.tufat.com/script5.htmwill let you do this. best, - rajat On 3/10/06, Adrian Park [EMAIL PROTECTED] wrote: 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? ___ Flashcoders@chattyfig.figleaf.com 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 -- Rajat Paharia [EMAIL PROTECTED] http://www.bunchball.com http://www.rootburn.com ___ Flashcoders@chattyfig.figleaf.com 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