Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1190
Adding summary in code no longer works
posted

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

Parents
  • 35319
    posted

    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.

    XamGrid_SummaryDef.zip
Reply Children