So, I’m initiating an table with this
hot = new Handsontable(document.getElementById(“table”), {
data: data,
columns: [{ type: “numeric” },{ type: “numeric” },{ type: “numeric” }],
rowHeaders: true,
colHeaders: true,
contextMenu: true,
formulas:true,
});
Lets say
data[0] = [1,2,3]
Now if I apply a formula in C1
cell say B1+10
, and the I print the variable it shows as
data[0] = [1,2,"B1+10"]
But it should be
data[0] = [1,2,12]
and I want to do calculation with it. So, how do I get the actual number instead of the formula as string?