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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement