Browser freeze when tried to update multiple raws

Hi,

I’m using Handsontable in my application and i should need to update multiple raws after update one cell. So for that i’m using “setDataAtCell” method in afterChange for update raws. I’m doing it with below way.

$.each(resp, function(i, item) {
$dataTable.handsontable(‘setDataAtCell’, i ,14, item.description);
$dataTable.handsontable(‘setDataAtCell’, i ,15, item.abc_cwbs);
$dataTable.handsontable(‘setDataAtCell’, i ,16, item.abc_cwbs_description);
$dataTable.handsontable(‘setDataAtCell’, i ,17, item.abc_services);
});

It’s working fine when i’m updating some raws (E.g. Almost 40 raws), but when i tried to update more than it then after browser has been crashed.

Please let me know if any one of you have any solution.

Thanks,

Hi @dhaval
setDataAtCell triggers afterChange so maybe you are experiencing an infinite loop. You can check it by logging anything inside the afterChange callback.