After upgrading to the latest 14.1 release setting summaries in code no longer works. I am setting the IsApplied property on the summary operand to true and i can see in the debugger that the property is set correctly, but this does not result in the grid showing the summary. My code looks similar to the code at http://help.infragistics.com/Help/Doc/WPF/2012.1/CLR4.0/html/xamGrid_Programmatically_Add_Summaries.html
Hello,
Thank you for your post. I was been looking into your issue and I managed to add the summary in code-behind like e.g.:
this.xamGrid1.SummaryRowSettings.AllowSummaryRow = SummaryRowLocation.Top;
this.xamGrid1.SummaryRowSettings.SummaryScope = SummaryScope.ColumnLayout;
Column DisplaySummary = this.xamGrid1.Columns.DataColumns["ProductName"];
DisplaySummary.SummaryColumnSettings.SummaryOperands[0].IsApplied = true;
I am attaching a sample application(XamGrid_SummaryDef.zip). Could you please modify it in order to meet exactly your scenario.
Looking forward to hearing from you.
The problem appears to be with the SummaryScope. In my project it is set to ChildBand. When I change your sample to ChildBand the summary is not set.