My aim is to have more space between GroupByRows and the collection of cells above this. To achive this I’m inserting a SpacerRow into the headers collection of the group. I don’t want to increase the hight of the GroupByRow itself because this means the collapse group button is vertically align to the top and I’d like it to be aligned to the bottom. Inserting a space row works well, expect that a grid line is drawn between the SpacerRow and the GroupByRow and I’d like to remove this. I’ve tried handling the Paint event and niether the space nor the groupby seems to be able to draw over grid line. So my question is: Is there away to get more fine grained control over were grid lines are drawn? Or Is there a better way to apporach this problem.
Imported from legacy forums. Posted by Robert (had 1531 views)
In this case, it is better to override the GroupManagerRow class, and repaint everything so it paints where you want when increasing the height of the row. I have attached the overridden class to this post. Once you’ve implemented it, you can use it in your project the following way :