Using Handsontable 9.0.0, @handsontable/react 9.0.0, and hyperformula 0.6.2, I create this single 2x2 table.
return <HotTable
data={[[“1”,""],[“2”,""]]}
afterChange={(changes,source) => {console.log(changes)}}
formulas= {{engine: HyperFormula}}
/>
When I type “=A1” into cell B1, the afterChange hook is called with
changes = [0, 1, “”, “=A1”]
as expected.
However, if I then select B1 and drag the Autofill handle to fill into B2, the afterChange hook is called with
changes = [1, 1, “”, 1]
when I would expect it to be called with
changes = [1, 1, “”, “=A2”]
since the contents of B2 are indeed now “=A2”. The new value entry of changes seems to be the calculated value of the source from the autofill.
Thanks!