Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Sample events > Appearance

Change the row background color

Scroll Prev Next More

 

To change any row background color, use the following code in the After Record Processed event.

 

 

 

record["css"] = "background:blue;";

 

You can also change the background color of a row when the mouse hovers over it:

 

record["hovercss"] = "background:yellow;";

See also:

Change the cell background color

Conditional formatting

Customizing CSS

Field events

Grid Row JavaScript API: row.fieldCell()