I am using a RadGrid and when the grid populates I would like to use alternate row colour depending on the values of the Works Order number if the previous value is the same as the current row value. For example, I have the following rows below. I would like the row colour with WO 11222 to be "rgRow" and the WO with 45874 to be row colour "rgAltRow" then back to rgRow for the next WO. So I basically want the alternate row colour to work on change of WO number.
Is there a way to achieve this please?
WO Qty Part
11222 3 XYZ
11222 4 XYZ
45874 1 UYH
45874 3 UYH