The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team April 25, 2006 08:50 AM UTC
Hi Fady,
You need to handle the Grid''s PrepareviewstyleInfo event for coloring the row in a grid.Here is a code snippet.
if(e.RowIndex > 0 && e.ColIndex > 0)
{
if(e.RowIndex %2 == 0)
{
e.Style.BackColor = Color.PaleGreen;
}
else
{
e.Style.BackColor = Color.BurlyWood;
}
}
Please let me know if you need any further assistance.
Thank you for choosing Syncfusion Essential Studio.
Regards,
Haneef