Hi
Could you please explain how should I work with group summaries when SummaryEvaluationMode is set to "Manual"?
When it queries summary result for group I can't find any way how to determine what current group is.
Hello,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
This is exactly what I need. Thanks.
You can use the folllowing code in the XamDataGrid's QuerySummaryResult event handler:
if (e.Summary.ParentCollection.Records.ParentRecord is GroupByRecord) { var gbr = e.Summary.ParentCollection.Records.ParentRecord as GroupByRecord; }
in order to get the current GroupByRecord. Please let me know if this helps you or you need further assistance on this matter.
I did that before I submitted this post. There is no grouping in the example so it did not help me anyhow.
Thank you for your post. I have been looking into it and I can suggest you see the sample in the Samples Browser under xamGrid / Performance / Improved Performance in Summaries section, which shows how to use ListCollectionView data source, which is sorted outside of the xamDataGrid (SummaryEvaluationMode is set to "Manual") and IEnumerable collection in which the calculation is perform manually with LINQ (SummaryEvaluationMode is set to "UseLinq").
Hope this helps you.