I am using the grid and I have a number of unbound columns...
This only happens while the grid has grouping enabled, when I change a value of a cell it throws this error....
I can give more information if needed, I am going to try to throw together a condensed version to recreate it and I'll upload it here if need be. But I just wanted to see if there was an idea of what's wrong. I can't debug it because the exception happens inside an infragistic assembly.
Please let me know what could be wrong, thanks in advance.
The Manager exists, its just hidden in the editor, as it should only be used in advanced situations.
The property has existed since the release of the xamGrid in 9.1;
As for the RefreshSummaries method, you'll need one of the past 2 SR's as it was introduced in a Service Release.
-SteveZ
I don't see e.Cell.Row.Manager .... in 10.2 or 10.3....
Hi,
Actually i was just informed that we did add the feature for refreshing summaries:
e.Cell.Row.Manager.RefreshSummaries();
So that will work as well.
We have on our backlog to add a method to make this easier, but for now you could do something like this:
SummaryDefinitionCollection sdc = this.grid.SummaryRowSettings.SummaryDefinitionCollection;
List<SummaryDefinition> summaries = new List<SummaryDefinition>(sdc);
sdc.Clear();
foreach (SummaryDefinition sum in summaries)
sdc.Add(sum);
I believe that will do the trick,
The reason why I had to call InvalidateData() was to have the Summary update after a change was made to a value in a column. Otherwise, I have to uncheck the summary operand, then re-check it to get the updated value. Is there a better way to do this?