AD
Administrator
Syncfusion Team
November 22, 2005 08:56 AM UTC
The grid will take care of the calculation dependencies. What you need to do is anytime e.Style.FormulaTag is non-null in SaveCellInfo, then save it in a hashtable (or something???) mapped to the cell at e.RowIndex and e.ColIndex. Then in your QueryCellInfo, for the passed in e.RowIndex and e.ColIndex, you check if there is an entry for the cell at this row and column in your hashtable. If there is, then you set this to e.Style.FormulaTag. Here is a minimal sample. http://www.syncfusion.com/Support/user/uploads/GC_Virt_Formulas_40deb4bf.zip