Hi Joey Coleman,
Thank you for your interested in Syncfusion products.,
We have analyzed your query ‘stack overflow exception in
GridControl when formula cell are used’. We can able to reproduce the issue in
our end. Currently we are working on this query to resolve this issue. We will
get back you with the solution on February
18, 2013.
Appreciate your patience.
Regards,
Vinish.
Thank you for your interested in Syncfusion products.,
We have analyzed your query ‘stack overflow exception in
GridControl when formula cell are used’. We can able to reproduce the issue in
our end. Currently we are working on this query to resolve this issue. We will
get back you with the solution on February
18, 2013.
Appreciate your patience.
Regards,
Vinish.
Hi Joey
We deeply regret for the inconvenience caused with delay.
Query Stack overflow exception
while inserting column |
We have analyzed your sample with oue Grid.Windows source. We can
able to reproduce the issue in our end and the root cause of this issue is
the reference of the inserted columns is doesn’t refreshed. To avoid this
issue you can use the following code in your application. Please refer the
below codes.
formulaEngine.FormulaCopyFlags =
GridFormulaCopyFlags.InsDelRangeReferencesUpdated; formulaEngine.FormulaCopyFlags = GridFormulaCopyFlags.ClipBoardReferencesAdjusted;
We hope this will help to you to avoid the exception. Please
refer the attached sample file also. |
Please let me know if you have further concerns.
Vinish.
Hi Joey,
Thanks for your update.
Query Formulas doesn’t referenced |
We have analyzed your query with the sample. I am afraid that I could
not able to identify the exact issue with the sample. You have mentioned in
your last update the formula cells are doesn’t referenced.
The reason for the issue may be the formula engine binded to the
grid is not refreshed after this occurrence. Hence the recalculation in
formula engine has to be performed. Please refer to the following code.
engine.RecalculateRange(GridRangeInfo.Table())
You could achieve the desired behavior by setting the
FormulaCopyFlags to the GridFormulaEngine. See the code:
//setup copying formulas
engine = ((GridFormulaCellModel)this.gridCalculations.CellModels["FormulaCell"]).Engine; engine.FormulaCopyFlags |= GridFormulaCopyFlags.ClipBoardFormula; engine.FormulaCopyFlags |=
GridFormulaCopyFlags.ClipBoardReferencesAdjusted; engine.FormulaCopyFlags |=
GridFormulaCopyFlags.InsDelRangeReferencesUpdated;
Please use the above suggestions in your apps. And let me know if
it helps to you. If you have any concerns, please provide any sample with
proper replication procedure. It will help us to provide proper response quickly. |
Warm Regards,
Vinish
Kumar K