Setting background color for datagrid row in Adobe Flex

前端 未结 5 908
孤独总比滥情好
孤独总比滥情好 2020-12-04 02:22

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

5条回答
  •  广开言路
    2020-12-04 02:53

    You'll have to use an itemRenderer in order to accomplish this. See the following examples for more information:

    http://butterfliesandbugs.wordpress.com/2007/07/11/using-an-itemrenderer-to-change-the-background-of-a-datagrid-cell/

    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=61&productId=2

提交回复
热议问题