You can directly reference the cell value in the code. Here is a little snippet that shows how you could proceed:
e.g.,
<code>
foreach( Xceed.Grid.DataRow row in gridControl1.DataRows )
{
if( row.Cells[ “Country” ].Value.ToString() == “Canada” )
{
row.BackColor = Color.Red;
}
}
</code>
Imported from legacy forums. Posted by CharlesB (had 2870 views)