Before use this feature under version 1.3.3, please download the updated datagrid plugin from
http://www.jeasyui.com/easyui/plugins/jquery.datagrid.js and include it in the page.
<style>
.r1{
background-color:#eee;
}
</style>
$('#dg').datagrid({
rowStyler:function(){
return {class:'r1'};
}
});