Hello
I have a grid with alternate colors that I set as follows
gvRiders.TableElement.BackColor = My.Settings.lvColor1
gvRiders.TableElement.AlternatingRowColor = My.Settings.lvColor2
The colors are correct on the "main" grid, but They are not propagated to the sub-grids (I have two levels of hierarchy in the grid),The sub-grids are displaying alternate colors, but not the same as the main grid, it seems to be teh default colors.
How do I set the backcolor and alternaterowcolor of the sub-grids ?
thanks in advance
I have a grid with alternate colors that I set as follows
gvRiders.TableElement.BackColor = My.Settings.lvColor1
gvRiders.TableElement.AlternatingRowColor = My.Settings.lvColor2
The colors are correct on the "main" grid, but They are not propagated to the sub-grids (I have two levels of hierarchy in the grid),The sub-grids are displaying alternate colors, but not the same as the main grid, it seems to be teh default colors.
How do I set the backcolor and alternaterowcolor of the sub-grids ?
thanks in advance