画面みたいに表を見やすくするために、
1行おきに色を付けたいときってありますよね。
<style>
.ui-row-even {
background: LemonChiffon;
}
</style>
<script type="text/javascript">
$(function() {
$('#grid').jqGrid({
'colModel': 略
'gridComplete': function () {
$('tbody > tr:even', this).addClass('ui-row-even');
}
});
});
</script>