User (Old forums)MemberFebruary 21, 2007 at 4:49 amPost count: 23064
I have a problem that I cant work out how to fix. I am trying to style the grid (3.2) but I cant seem to change the background color on the ColumnManagerRow.
I have Initialized the grid and then set the column backcolor like so;
I then call;
Now I modify the ColumnManagerRow to set the column Headers background colour to GhostWhite as I want my headers to look like headers rather than having the same colour scheme as the data rows.
objForm.ColumnManagerRow1.ReportStyle.RepeatOnEachPage = True
objForm.ColumnManagerRow1.ReportStyle.BackColor = Color.GhostWhite
again I call;
When I export this grid (as we are only using it for its reporting facilities), the column headers still have the original background color in each cell rather than the new color (ghostwhite). I say cell because there is padding around the column header cells and this area does appear as ghost white.
I even tried iterating through each cell in the columnManagerRow and changing each cells background color to ghost white but this didn’t work either. Am I missing something obvious?
Imported from legacy forums. Posted by Mark (had 2083 views)User (Old forums)MemberFebruary 21, 2007 at 3:51 pmPost count: 23064
First, it is normal that setting the ColumnManagerRow BackColor will not work if you set the Column BackColor, because the ColumnManagerCell is ambient to the column first before being ambient to the row.
You can look at the following topic for more information on ambientness in the grid :
Second, setting the ColumnManagerCell should have precedence over the column. However, I tested this, and it works fine here, the ColumnManagerCell BackColor is GhostWhite when reporting. I suggest you send a sample application reproducing the issue to <a href=”mailto:email@example.com”>support</a>, so we can investigate this further.
Imported from legacy forums. Posted by André (had 2998 views)
- You must be logged in to reply to this topic.