Hi Raul,
You need to catch the PrepareViewStyleInfo event of the grid to do this. In the event handler, you need to check your condition based on e.RowIndex and e.ColIndex, and then conditionally set e.Style.TextColor.
void gridControl1_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
{
if (e.RowIndex > 0 && e.ColIndex > 0)
{
if (e.Style.Text == "Active")
e.Style.TextColor = Color.Green;
else
e.Style.TextColor = Color.Red;
}
}
Let us know if you need any further help.
Regards,
Rajagopal