Hello,
I want the group summaries within the group header so I set
GroupBySummaryDisplayMode
="SummaryCellsAlwaysBelowDescription"
of the FieldLayoutSettings. And beside that I want the grand summary header at the top of the grid and fixed instead of unfixed at the footer. So I tryed to also set
SummaryDisplayArea
="TopFixed"
of FieldSettings. But now the group summaries are no longer within the group headers so I can't see the group summaries when group is collapsed. How can I achieve the look and feel I need?
Thank you for your feedback. Let me know, if you need any further assistance on this matter.
For now I can live with this workaround but there are maybe situations in future where I need to have set 'RecordContainerGenerationMode' to 'PreLoad'.
Thanks for your support!
Thank you for your feedback. All that I have suggested you by now is a custom implementation on how to achieve the desired functionality. It seems that my approach works as expected when ‘RecordContainerGenerationMode’ property is set to ‘Recycle’ which is its default value. Setting it to other value you change the virtualization of the XamDataGrid and it seems that it is the reason for the disappearance of the summary header. I can suggest you leave ‘RecordContainerGenerationMode’ to ‘Recycle’.
If you have any other questions on this matter, feel free to ask.
thanks for your new sample. The DataContextChanged event seems to work. But now I have another problem: If RecordContainerGenerationMode="PreLoad"is set, the grand summaries header disapears after uncollapsing one of the group headers.
I am just checking if my last reply was helpful for you.
If you require any further assistance please do not hesitate to ask.