Hi All,
Does anyone know if it's possible to change the appearance of a summary row in an UltraGrid for a specific group? In the image below (sorry it may not be too easy to see), if the user selects a GroupBy row I'd like them to be able to change the appearance for that group level.
The areas outlined in red are those that I am unsure how to change:
I have found the properties for ammending the default appearance for summaries, but I'm hoping this is possible too...
Any help will be greatly appreciated.
Cheers,
Richard
Hi Richard,
I meant that this is probably a bug in the WinGridDocumentExporter, since it seems to be lacking some pretty basic functionality. Probably just an oversight that needs to be corrected.
I'm going to forward this thread over to Infragistics Developer Support and ask them to write this up for developer review and hopefully we can get this fixed in a future version.
Yes, would that be a bug on my part? Or Infragistics?
Is it possible to change the font colour, bold and italic also? As I haven't found out how to do that even for the row...
Richard said:Changing the "ContainingTable" property appears to have no affect
Do you mean that setting the Background property on the ContainingTable has no effect?
If that's the case, then it looks like there is no way to change the appearance of the summary footer, which I would consider to be a bug that needs to be corrected.
Thanks again Mike. Yes that's as far as I have. Changing the "ContainingTable" property appears to have no affect and changing the ReportGridSummaryRow property results in the following:
I see it regards the Summary Rows as the parts of the grid where summary values are placed. What I need now is for it too style the summary footer the same, and also apply the same font, font colour, bold and italic properties. I couldn't see any properties to do this...only the background colour?
You can try changing the appearance of the summary using the SummaryRowExported event. The event passes you a "ContainingTable", which is an ITable that contains the entire summary area. The GridSummaryRow should give you enough context to determine what colors you want to use, and then you can set the Background property on the ContainingTable or maybe the ReportGridSumamaryRow.