BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
$(function () {
$("#Spreadsheet").ejSpreadsheet({
cellSave: "onCellSave"
});
});
function onCellSave(args) {
var val = args.value, rng; // e.g. val is =MIN(B2:B6)
if (val && val.startsWith("=")) {
rng = val.slice(val.indexOf("(") + 1, val.indexOf(")")); // rng is B2:B6.
data = this.getRangeData({ range: rng, property: "value" }); // you can get the data here.
console.log(data);
}
};
|