开发者社区 问答 正文

easyui treegrid如何设置行的奇偶样式?

easyui treegrid如何设置行的奇偶样式?用datagrid的striped这个属性设置无效?请教各位:如何解决?

展开
收起
a123456678 2016-07-11 17:37:02 2651 分享 版权
1 条回答
写回答
取消 提交回答
  • rowStyler:function(index,row){     
        if (index%2==0){     
                return 'background-color:pink;color:blue;font-weight:bold;';     
            }     
        }     
    });    
    2019-07-17 19:54:28
    赞同 展开评论