easyui-datagrid对行写样式

easyui-datagrid写某一行的样式

  
$('#tt').datagrid({
         rowStyler:function(index,row){
                if (row.IsTotal) {
                    return 'background-color:pink;color:blue;font-weight:bold;';
                }
            },
}

  

原文地址:https://www.cnblogs.com/lhlong/p/8026620.html