I have a grid which has groupby feature (ViewStyleBand.OutlockGroupBy) turned on with summary cells in the groupby row.
band.Override.GroupBySummaryDisplayStyle = GroupBySummaryDisplayStyle.SummaryCells; band.Override.SummaryDisplayArea = SummaryDisplayAreas.InGroupByRows;
Question 1 - The summary cells appear to be couple pixels shorter (height-wise) than the regular rows. Is there a way to programmatically adjust the summary cell height in the groupby row to the cells on the regular rows?
Question 2 - I noticed each groupby section appears to have a white line border around it. I would like to remove it so that there is no gap between each group. Is there a way to do that? I already used the following, but still couldn't get that white line border to go away.
DisplayLayout.Override.GroupByRowSpacingBefore = 0; DisplayLayout.Override.GroupByRowSpacingAfter = 0; DisplayLayout.Override.GroupByRowPadding = 0;
I was able to make it transparent, by setting DisplayLayout.Override.GroupByRowAppearance.BorderAlpha = Alpha.Transparent, but ideally, that's not what I want, I want the gap to completely go away. Thanks.
Thanks Mike. What about the summary cell height on the groupby row?
Hi Michael,
After investigating this more, I found that the grid is still leaving some space for the description even when setting it to nothing. We feel that there ought to be a way to completely hide the description and I believe this may be causing the gap to appear for you. I have logged this behavior in our internal tracking system with a Development ID of 224593. The next step will be for another developer to review my investigation and confirm my findings, or to offer a fix or other resolution.
Please let me know if you have any questions.
And here is a screenshot of what I want.
Oops, I can only attach one image in a post. Here is another screenshot of what your suggestion looked like.
Thanks Mike for the quick response, but maybe I wasn't clear on what I am looking for. Please see screenshots on what the 2 suggestions looked like, and I also included a screenshot of what I am looking for. Thanks again.