Index: simple_grid.js
===================================================================
--- simple_grid.js	(revision 13919)
+++ simple_grid.js	(working copy)
@@ -128,6 +128,7 @@
 	var result_js = $js_mask.replace(/#NUMBER#/g, new_item_number);
 	eval(result_js);
 	this.updateTotals();
+	this.processOddEven();
 
 	return new_item_number;
 }
@@ -146,10 +147,29 @@
 
 	this.renumberRecords();
 	this.updateTotals();
+	this.processOddEven();
 
 	return true;
 }
 
+SimpleGrid.prototype.processOddEven = function () {
+	var $me = this;
+	var $class_name = 'odd';
+
+	$('> div', this.getControl('container')).each(
+		function () {
+			var $div_id = $(this).attr('id');
+
+			if ( !$div_id.match( new RegExp('^' + $me.IDPrefix + '_(.*)') ) ) {
+				return ;
+			}
+
+			$me.getControl(RegExp.$1).className = $class_name;
+			$class_name = $class_name == 'odd' ? 'even' : 'odd';
+		}
+	);
+}
+
 SimpleGrid.prototype.removeRecords = function () {
 	while (this.ItemIDs.length > 0) {
 		var $item_id = this.ItemIDs[this.ItemIDs.length - 1];
@@ -175,4 +195,4 @@
 			break;
 		}
 	}
-}
+}
\ No newline at end of file
