Hi,
I am facing an issue with multiple table validation on a page.
I am using multiple handsontable instances for a form and I want to validate them on submit.
I currently cycle through each table on the page and call the validateCells()
method, but it seems like the callback is asynchronous and thus I am not able to wait for every table to be validated before the function progresses; but since it is not a promise, I can’t await it.
Please see the JSFiddle attached for the reproduction of my issue and further explanation.
https://jsfiddle.net/4khx0ojc/1/
Is there a way I can solve this problem?
Thanks in advance for your time.