[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.IObjectExpressionSupport.UpdateFormulasWhenModelChanged

UpdateFormulasWhenModelChanged Method

UpdateFormulasWhenModelChanged(ISheetDataModel, ISheetDataModel)

Updates all formulas of all the IExpressionConsumer object when changing the data model of a sheet in Spread.

Declaration
void UpdateFormulasWhenModelChanged(ISheetDataModel newModel, ISheetDataModel oldModel)
Sub UpdateFormulasWhenModelChanged(newModel As ISheetDataModel, oldModel As ISheetDataModel)
Parameters
Type Name Description
ISheetDataModel newModel

The old data model

ISheetDataModel oldModel

The new data model

Remarks

This method is intended to be used when it is necessary to update the formula at the specified index of the IExpressionConsumer. This API supports the Spread infrastructure and is not intended to be used directly from your code