Edit this page

Color Alternating Rows

The demo on how to color the alternating rows of an exported Grid to Excel uses the background option of the cell to set the background color of the alternating rows.

To see the example, refer to the project on coloring alternating rows.

Important

These projects require a UI for ASP.NET MVC 2014.3.1125 version or later. Earlier versions do not expose the ExcelExport event through the fluent API.

For more information on how Excel documents work, refer to the introductory article on Excel.

See Also

For more runnable examples on the Kendo UI Grid in ASP.NET MVC applications, browse its How To documentation folder.