【问题标题】:Spark datagrid alternatingItemColors火花数据网格交替项目颜色
【发布时间】:2012-05-22 21:18:27
【问题描述】:

我尝试使用 css 文件自定义 spark 数据网格。 我对 alterItemColors 属性有疑问,因为所有线条都是白色的。 相同的代码适用于 mx|DataGrid

   s|DataGrid
    {

        backgroundAlpha: 0.6;
        borderThickness: 1;
        borderColor: #0085Ac;
        /* Couleur de la zone de titre  */
        /*headerColors: #006699, #6ea4f8;*/
        headerColors : #6db8e0, #50a3ce;
        horizontalGridLines: false;
        verticalGridLines: true;
        verticalGridLineColor: #003366; 
        alternatingItemColors: #ffffff, #eeeeee;
        rollOverColor: #b3b7d9;
        textRollOverColor: #0c1e37;
        selection-color:#66B0C0;
        color :#0c1e37;

        headerStyleName: "mydataGridHeaderStyle";
    }

感谢您的帮助

【问题讨论】:

    标签: css actionscript-3 apache-flex mxml


    【解决方案1】:

    Spark DataGrid 中的样式名称似乎已更改。它现在有一个名为alternatingRowColors的样式

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-12-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-02-04
      • 2011-10-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多