Setting background color for datagrid row in Adobe Flex

前端 未结 5 889
孤独总比滥情好
孤独总比滥情好 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:49

    dg.setPropertiesAt(3, {backgroundColor:0xFF0000});
    

    Where dg is your datagrid and the number 3 is the row color of your grid.

提交回复
热议问题