AD
Administrator
Syncfusion Team
May 25, 2004 09:41 PM UTC
Do you have this code in FormLoad? If not, try moving it there.
Also, try reversing the order in which you call RegisterGridAsSheet, calling this first on the bottom sheet. (The reason is that the bottom grid is really the only one with formulas in it, and it should probably be the first one registered.
After switching the order, try calling engine.RecalculateRange(GridRangeInfo.Table(), true) at the bottom of FormLoad. This should force the gridControl to recalculate, and hopefully show the proper values initially.
Make sure you have already loaded the data in the GridDataBoundGrid.DataSource before you call engine.Recalculaterange, otherwise teh GridControl will just use zeros for these missing values.
VI
Vivek
May 25, 2004 09:44 PM UTC
reversing the order Worked.
Thansk clay.