before_calculate method

before_calculate

Implement this method to do business before calculating one cell.

def before_calculate(self, sheet_index, row_index, col_index):
    ...
ParameterTypeDescription
sheet_indexintIndex of the sheet that the cell belongs to.
row_indexintRow index of the cell
col_indexintColumn index of the cell

See Also