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 = true no total but names shown
showsummaryrow = false total but no name
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.
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.
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.
- 3 Replies
- 3 Participants
-
PE Peter
- Oct 25, 2024 03:38 PM UTC
- Nov 22, 2024 07:30 AM UTC