简体   繁体   English

flex3高亮显示datagrid列

[英]flex3 highlight the datagrid column

How to highlight the data grid column? 如何突出显示数据网格列?

Thanks. 谢谢。 AravindakumarThangaraju. AravindakumarThangaraju。

If you creating your datagrid in mxml then just add 如果您在mxml中创建数据网格,则只需添加

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. 使第一列背景变为红色。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM