Oh yeah to make it even stranger, when I highlight all the rows by hand the code works, when I use the right click highlight all is when it fails
I'm using Version 6.1 and upgrading is not an option at this current point in time.
{
}
else
this.ultraGrid1.EndUpdate();
Here is my ultraCalcManager code.
this.createdColumn.Layout.Grid.CalcManager = new UltraCalcManager( );
DialogResult result = dlg.ShowDialog( this );
this.ultraTextEditorFormula.Text = dlg.Formula;
this.createdColumn.Formula = this.ultraTextEditorFormula.Text;
When I look at the methods available for:
this.createdColumn.Layout.Grid.CalcManager
ReCalc is not an available method, i see EnsureCalculated
thank you, Jamie
I don't see anything wrong with this code, but it's very hard to tell anything from a code snippet.
The CalcManager calculates asynchronously by default. So the values don't get updated in the grid cells instantly when you add a formula, it takes time. You can force all calculations to be completed synchronously by calling the ReCalc method on the CalcManager - but this may lock up the UI while the calculations are performed.