Setting background color for datagrid row in Adobe Flex
问题 I need to programmatically change the background color for a single row in a datagrid in Flex. I've scoured the Net and found reference to "dg.setPropertiesAt," which is not a supported method (according to the compiler). Also, there are suggestions to extend the dg's "drawRowBackground" method but I need to set the background externally (not from logic inside the dg). Any and all suggestions welcome. TIA, Bob 回答1: You'll have to use an itemRenderer in order to accomplish this. See the