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?
I have been looking into your post and I can suggest you set the ‘SummaryDisplayArea’ to "InGroupByRecords, TopFixed". This way you can see the group summaries even when the groups are collapsed.
If you need any further assistance on this matter, feel free to ask.
Thanks for your quick response. With your suggested solution the group summaries are now shown twice. One in the groupheader but also as seperate header under the group header. I just want them in the group header because now it takes to much space as you can see in the screenshot:
here is a skribble of a sample grid. I hope now it's clear what I want to achieve?!
...and the column headers and grand summaries header should be fixed at the top.
I have been looking into your requirements and I have created a sample application which meets your requirements. If I have missed something, feel free to tell me.
I can't see the grand summaries header in your sample!
I have modified my sample application(DataGridfuncsModified.zip) in order to meet exactly your requirements.
If you have any other questions on this matter, feel free to ask.
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’.
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.