Hi all,
I'd like to allow the user to build their own formula for a new Summary in a WinGrid. Currently, the user can select a column for the summary to be placed under, create a new formula using the FormulaBuilder dialog, and this adds a new summary with the specified formula, under the selected column.
In addition to this, a report is generated from the grid which is also required to display these formulas as they are in the grid. (I use the GridDocumentExporter for this)
I have two problems which are both specific to summaries placed at each Group level. The Grand Summary level displays the correct value, as desired, however...
These issues seem linked, but I still can't figure out what is wrong...
When creating the summaries I pass the FormulaBuilder a new summary as an IFormulaProvider. When the user has successfully specified a formula, this is applied to the Formula property of the Summary.
The summary used is what is returned from this (SummarySettings object):
Summaries.Add(formulaId,
SummaryType.Formula, column, SummaryPosition.UseSummaryPositionColumn);
"formulaId" is a string and "column" is an UltraGridColum in the Grid.
Any ideas would be greatly appreciated!
Cheers,
Richard
Hi Richard,
Both of the issue you describe here are clearly bugs. What version of the controls are you using? Do you have the latest service release?
How to get the latest service release - Infragistics Community
Hi Mike,
Thanks for the reply. All the components are version 2.0.50727. Is this the latest version?