las líneas impares de la grilla quedan de otro color
delphi
GridPanel := TExtGridGridPanel.Create; With GridPanel Do Begin ViewConfig := JSObject( 'getRowClass: function(record, index, rowParams, ds) {'+ 'if (index%2 == 0) {'+ 'rowParams.tstyle += "background-color:white;";' + 'rowParams.tstyle += "color:black;";'+ '}'+ 'else {'+ 'rowParams.tstyle += "background-color:#C0A7EB;";' + 'rowParams.tstyle += "color:black;";'+ '}'+ '}'); ----- End;