Hi Rudy,
>Does anyone know how to change the BackColor and ForeColor for an individual cell in a grid without having it affect the entire column? We are trying to give our users a visual clue that they have changed the values with a cell.
This is exactly what DynamicBackColor and DynamicForeColor are for. This code changes the color of of a cell based on the sign of the amount:
Grid.Column1.DynamicBackColor = "iif(Table.Balance < 0, rgb(255,0,0), rgb(0,255,0)")
All negatives are Red, and all non-negatives are green.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only