:: Forum >>

Setting specific background color to Row-cloumn.

I am reading this forum and got a lots of help. Thanks to all participants.
Through the code posted in this forum, I am able to set background color for an individual column and an individual row but I would like to set background color to specific row-column combination.
What I meant is, suppose I have a grid of 4 X 3 ( row X col).
I want to set

Yellow color to grid 1 X 1, 1 X 2 and 1 X 3 ( first row in all three columns)
blue color to grid 2 X 1, 3 X 1 and 4 X 1 ( first column except first row)
red color to grid 2 X 2, 3 X 2 and 4 X 2
green color to grid 2 X 3, 3 X 3 and 4 X 3

Could some one help me to establish background color to above scenario
Thanks
Syed
Syed
Monday, October 30, 2006
Have any one answere to it.
Syed
Tuesday, October 31, 2006
Check the source code in /examples/grid/cell colors.htm. You should change myColor function to return the desired color and assign it to the background (instead of the text color).
Alex (ActiveWidgets)
Wednesday, November 1, 2006

This topic is archived.


Back to support forum

Forum search