Use #id .aw-alternate-even or #id .aw-alternate-odd selectors to assign styles to even/odd rows
#myGrid .aw-alternate-even {background: #efe}
#myGrid .aw-alternate-odd {background: #def}
Modify .aw-alternate-XXX class calculation for more complex effects :-)
grid.getRowTemplate().setClass("alternate", function(){
return this.getRowProperty("position") % 6 < 3 ? "even" : "odd";
});
Back to row examples, all examples