Adding the row id as third parameter in rowattr and jqGridRowAttr (Oleg).