I would like to customise the GroupByRows in my grid so that they look like DataRows. It looks like I will have to do this by implementing the IUIElementCreationFilter interface. However, I don't have any idea where to start when it actually comes to drawing the appropriate columns and writing the header text.
Also, when my data I grouped I would only like the column headers to appear once at the top of the grid and not at every grouping level.
Thanks in advance.
1. You might try using the HeaderPlacement property on the Override. I think it will let you dislpay a set of fixed headers at the top of the grid.
2. You can apply appearances to the SummarySettings.
3. It looks like you are setting GroupBySummaryDisplayStyle to SummaryCellsAlwaysBelowDescription instead of SummaryCells
For questions 1 and 3, I'm not sure if these properties exist in v5.2. I suspect they were added later, so you will need to upgrade to a newer version in order to use them.
Mike,
Please find attached a screenshot of my grid. This is the default view our users will probably have.
I am using v5.2 btw.
Thanks
Jay
Hi Jay,
Re-creating an entire row with a CreationFilter is a huge task and should not be undertaken lightly. You are talking about several days work here, at least. It's probably not worth the effort unless you can't acheive what you want in any other way.
What exactly do you mean when you say you want the GroupByRow to look like a regular row? A GroupByRow only has a single value, it doesn't really have values for any of the other cells. So what would it look like if it were a regular row?
Regarding the column header, I think you are looking for the HeaderPlacement property on the Override.