javascript - Calculation is not working with custom Cell Rendering with AJAX in Handsontable -
in table(handsontable) have 4 columns cars , a , b , c . data cars , a columns loaded mysql database. (like php demo ). data of column b populated mysql database via ajax depending on value of cars . code follows: {type: { renderer : function (instance, td, row, col, prop, value, cellproperties) { handsontable.textcell.renderer.apply(this, arguments); var cr,prc; cr = instance.getdataatcell(row, 0); prc = instance.getdataatcell(row, 1); $.ajax({ url: "php/act-go-t.php", data: {cars: cr, price: prc}, datatype: 'json', type: 'post', success: function (res) { if (res.result[0].tax === null) { td.innerhtml = '0.000'; } else { td.inne...