PDA

View Full Version : Change Grid Row/Column (cell) Foreground/Background Color on OnClick Event


ABC123

dwimberly
06-27-2013, 01:07 PM
I have a grid comprised of labels that are stored in a SQL Server database for a performance review system. There are 5 columns:

Review Category
Score 0 (description of bad work)
Score 1 (description of good work)
Score 2 (description of better work)
Score 3 (description of best work)
Score given (number updated based on which of the previous columns is clicked)

I want to change the colors of the cell that is clicked on for each category and update the number corresponding to the cell.

Can someone show me how?

Thanks,

Doug

Clipper87
06-28-2013, 07:10 AM
Have you tried anything yourself? Setting the score can be done with the client side grid method setValue. I don't understand what & when you want to do with the colors.