Flex - Sending a parameter to a custom ItemRenderer?

后端 未结 10 1363
悲哀的现实
悲哀的现实 2020-12-24 07:37

What I am trying to accomplish to to get financial data in my Flex Datagrid to be color-coded--green if it\'s positive; red if it\'s negative. This would be fairly straight

10条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-24 07:45

    See this example:

    itemRenderer="{UIUtils.createRenderer(TextBox,{iconSrc:IconRepository.linechart,headerColor:0xB7D034,subHeaderColor:0xE3007F,textColor:0x75757D})}"
                                       
    

提交回复
热议问题