Hi.
I have a problem with the grouping feature in the UltraGrid
i will attach a example...
Try to group with Group + SubGroup each time i do this i have an exception :
'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics4.Shared.v17.2.dll
Additional information: Infragistics.Win.UltraWinGrid.NestedSummarySettingsReference _Summary_2() - Attempt to set value on readonly reference
I can reproduce this with 16.2.2182 SR. I reverted back to 16.2.1000 and could not repro. Also could not repro with 16.2.2111. It looks like this was introduced in the latest SR and 17.2.
My code hits this when I do an Export to Excel, but it looks like it is because there is a recalc that causes the exception.
Here is the stack trace:
at Infragistics.Win.CalcEngine.RefBase.set_Value(UltraCalcValue value) at Infragistics.Win.CalcEngine.RangeCalcInfo.EvaluateNextRow() at Infragistics.Win.CalcEngine.UltraCalcEngine.Evaluate(Int64 ticks) at Infragistics.Win.CalcEngine.UltraCalcEngine.Recalc(Int64 ticks, Boolean isStartOfRecalcOperation) at Infragistics.Win.UltraWinCalcManager.UltraCalcManager.ReCalcInternal(Int64 ticks) at Infragistics.Win.UltraWinCalcManager.UltraCalcManager.ReCalc(Int64 millis) at Infragistics.Win.UltraWinCalcManager.UltraCalcManager.Infragistics.Win.CalcEngine.IUltraCalcManager.PerformAction(UltraCalcAction action, Object data) at Infragistics.Win.UltraWinGrid.UltraGridLayout.EnsureAllFormulasCalculated() at Infragistics.Win.UltraWinGrid.UltraGrid.PrepareForExport(UltraGridLayout exportLayout, Boolean async) at Infragistics.Win.UltraWinGrid.AsyncExportOperation.ProcessPhasePrepareForExport() at Infragistics.Win.UltraWinGrid.AsyncExportOperation.ProcessCurrentPhase() at Infragistics.Win.UltraWinGrid.AsynchronousExportManager.ProcessExport() at Infragistics.Win.UltraWinGrid.AsynchronousExportManager.AddExportOperation(UltraGrid grid, IUltraGridExporterAsynch exporter) at Infragistics.Win.UltraWinGrid.UltraGrid.ExportAsync(IUltraGridExporterAsynch exporter) at Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter.ExportHelper(UltraGrid grid, Worksheet worksheet, Int32 startRow, Int32 startColumn, Boolean asynch) at Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter.ExportAsync(UltraGrid grid, String fileName, WorkbookFormat workbookFormat)
Hello ,
In order to reproduce the issue I downloaded the attached sample and run it using version 17.2.20172.2005.I am not able to reproduce the issue.
I run the sample and group and subgroup these column. I am not getting any error.
May I know which version of controls are you using?Also let me know if I am missing something.
Please let me know if you need further assistance.
I reproduced the problem with 16.2.2182 SR. I could NOT reproduce with 16.2.1000 or 16.2.2111. I do not have access to 17.2
The October service release (version 16.2.20162.2181) is the last service release for 2016 volume 2. The issue is fixed in the December service release and you could get the 17.1 service release if you have access to that volume. If you don't then you may need to renew your license to get an updated version that has the fix or use the earlier service release for 2016 Volume 2 that doesn't have the same issue.