Changing the text color in my Flex DataGrid
Posted on 2009-02-19
I have a DataGrid that is populated from a datasource. In one of the columns, I only have 2 entries: "Increased" and "Decreased". If the value is decreased, I want to change the color text to "red" and if the value is "increased", I want to change the color value to "green".
I would like to do this in action script and after looking online for 2 hours, I found nothing that actually works. Can I ask you to please give me a sample *.mxml file and maybe even an *.xml file that works that I can play with?
Any help is greatly appreciated. Thanks!