In my table a have 6 columns as follows:
| Product | Qty. | Good | Damaged | Cut & Torn |
Qty.= Good + Damaged + Cut & Torn
normally for text box it will be done like:
function sum() {
var txtFirstNumberValue = document.getElementById('txt1').value;
var txtSecondNumberValue = document.getElementById('txt2').value;
if (txtFirstNumberValue == "")
txtFirstNumberValue = 0;
if (txtSecondNumberValue == "")
txtSecondNumberValue = 0;
var result = parseInt(txtFirstNumberValue) + parseInt(txtSecondNumberValue);
if (!isNaN(result)) {
document.getElementById('txt3').value = result;
}
}
How it will be done with handsontable?
Thank you very much, any help will be appreciated