开发者

flex3 highlight the datagrid column

开发者 https://www.devze.com 2022-12-14 22:43 出处:网络
How to highlight the data grid column? Thanks开发者_如何学Python. AravindakumarThangaraju.If you creating your datagrid in mxml then just add

How to highlight the data grid column?

Thanks开发者_如何学Python. AravindakumarThangaraju.


If you creating your datagrid in mxml then just add

backgroundColor="0xFF0000" 

to the

<mx:DatagridColumn> 

tag to make the background red

if its in Actionscript its

MyDG.columns[0].setStyle("backgroundColor", 0xFF0000);

to make the first column background red.

0

精彩评论

暂无评论...
验证码 换一张
取 消