Comparing Cells per Row in a Datagrid

Shaitan00

Junior Contributor
Joined
Aug 11, 2003
Messages
358
Location
Hell
I have a Datagrid populated by 3 Columns [X/Y/Z] and many rows [all is populated dynamically]. I would love to display rows that do not all contain the same value.

For example, given the following:

X Y Z
1 1 1
1 2 2

Row1 is all the same value [1s] and should stay as such.
However Row2 has different values and thus I wanted to display that to the user by changing the color of the row [or each cell in that row].

How do we control such a function? [compare cells and change color]
 
Back
Top