GridSummaryRow Issue After Update

HI I recently upgraded from V19.X.X to 27.1.56. 

i have run into an issue with a summary caption row on a sfdatagrid 

     sfDataTable.DataSource = GetDataTable();

      sfDataTable .GroupColumnDescriptions.Add(new GroupColumnDescription() { ColumnName = "Cattle" });

      sfDataTable .Columns[0].Visible = false; //hide the grouped column

     GridSummaryRow r = new GridSummaryRow();

     r.Name = "CaptionSummary";

     r.ShowSummaryInRow =true;

     r.Title = "{Key} : {CaptionSummaryColumn}";

     var s = new ObservableCollection<ISummaryColumn>();

     var col = new GridSummaryColumn();

     col.MappingName = "CountAnimals";

     col.Format = "{Sum}";

     col.SummaryType = SummaryType.Int32Aggregate;

     col.Name = "CaptionSummaryColumn";

     s.Add(col);

     r.SummaryColumns = s;

      sfDataTable .CaptionSummaryRow = r;


Using the above code i previously could display the name (from hidden column) and the sum of animals.

now it only shows the group names


however if i set   r.ShowSummaryInRow =false; it will show the totals but not the name ? 


What have i missed .. 2 screen shots attached ...  

Showsummary row=true.png

showsummary = true  no total but names shown

showsummaryrow=false.png

showsummaryrow = false total but no name


3 Replies

MS Malini Selvarasu Syncfusion Team October 28, 2024 01:36 PM UTC

Hi Peter,

We have checked the reported issue "Summary is not calculated for the CaptionSummaryRow when the OnDemandCaption summary calculation is enabled." on our end and it is confirmed as a defect. And We have logged a bug. We will fix this issue and include it in our NuGet release Which is scheduled on November 19, 2024.
You can track the status of this report through the following feedback link,
Note: The provided feedback link is private, and you need to log in to view this feedback.
We will let you know once it is released. We appreciate your patience until then.
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.
Regards,
Malini Selvarasu


SP Sreemon Premkumar Muthukrishnan Syncfusion Team November 19, 2024 03:30 PM UTC

Hi Peter,


The weekly release has been postponed to 20th November 2024, we will let you know once it is published.

We appreciate your patience and understanding in the meantime.


Regards,
Sreemon Premkumar M.



SP Sreemon Premkumar Muthukrishnan Syncfusion Team November 22, 2024 07:30 AM UTC

Hi Peter,


We would like to let you know that Essential Studio Weekly NuGet packages (v27.2.3) has been published in nuget.org with the fix for the issue “Summary is not calculated for the CaptionSummaryRow when the OnDemandCaption summary calculation is enabled”. Please let us know if you have any concerns in this.

Root Cause Details:

Due to an incorrect condition check, the summary calculations were not performed for the CaptionSummaryRow when the SummaryCalculationMode was set to OnDemandCaptionSummary. We have resolved this issue by implementing the proper condition to calculate the summary values for the CaptionSummaryRow in this mode.


Regards,
Sreemon Premkumar M.


Loader.
Up arrow icon