Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1995
Grid Calc problem
posted

Mike,

Last month i upgraded from IG2010-V1 to IG2011-V2. After this upgradation i faced some issues in the grid.

Normally in my framework, i created the grid with tablenames like "TableTest0" (first band), "Tabletest1" (second band). If I need any formula for the columns i would apply it on grid generation. In runtime i fetched values from database and bind it to my grid. While binding new datasource i gave different table name. This is working fine upto IG 2010 version 1. But in IG 2011 v2 i got an error (calc manager error) as below. This error came only if i used the formula in the grid. 

"at Infragistics.Win.UltraWinGrid.RefSummaryValueCollection.RefSummaryValueCollectionEnumerator.MoveNext()
   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)"

I gone through infragistics forum and found the below link

http://forums.infragistics.com/forums/p/52238/272700.aspx#272700

From the link i found that if we changed the tablename of grid's datasource the error will come. So as per the instruction given in the link, i gave the same table name for datasource while generating and as well as in runtime. After that my problem solved globally.

But in one of my screen, i got this same issue (refer attachment-1 & attachment-2) even after having same tablename. In that screen i am using 7 grids and in that 7 grids i am using formula for 4 grids. I checked the table name for this all grids while creation and in runtime. We didn't change the table name at any point. I removed the formulas one by one in every grid and found that it come from one grid which having no rows.

Is there any other methods to solve this problem? Whether anything i missed to check or change?

Guide me to solve this problem.

 

Parents Reply Children
No Data