Hi Fleix,
Thanks for your patience.
Your requirement can be achieved by handling the RowDataBound event. Please refer the below code snippet.
[Codebehind - C#]
void GridGroupingControl1_RowDataBound(object sender, RowDataBoundEventArgs e)
{
if (e.Row != null)
{
if (e.Row.DisplayElement.Kind == DisplayElementKind.Record)
{
if (Convert.ToInt32(e.Row.Cells[3].Text)% 2 == 0)
{
e.Row.BackColor = Color.Red;
}
}
}
}
For your convenience, we have created sample and the same can be downloaded from the following link.
RowDataBound color-1755674350.zipPlease let me know if you have any other questions or concerns.
Regards,
Sridhar.N