Flex 4 Spark DataGrid 样式指南

1  <!--选中行边框颜色-->
2 <s:stroke>
3 <s:SolidColorStroke id="caretIndicatorFill" color="0x0167FF" weight="1"/>
4 </s:stroke>
 1 <!--
2
3   网格中竖线的样式,去掉线条直接 <s:Rect/>
4
5 -->
6 <fx:Component id="columnSeparator">
7 <s:Rect>
8 <s:stroke>
9 <s:SolidColorStroke color="0x0167FF" weight="1"/>
10 </s:stroke>
11 </s:Rect>
12 </fx:Component>
<!--网格中横线的样式-->
<fx:Component id="rowSeparator">
<s:Rect />
</fx:Component>
<!--头部背景颜色 继承GridItemRenderer类 或 DefaultGridHeaderRenderer类-->
<s:Rect id="lowlight" width="100%" height="100%" alpha="1">
<s:fill>
<s:SolidColor color="0xF0F0F0"/>
</s:fill>
</s:Rect>





posted @ 2012-02-07 16:07  鉲鉲  阅读(3123)  评论(0编辑  收藏  举报