Angular Wrapper Handsontable

How to call the afterChange event of Handsontable in Angular 6 wrapper manually ?

Hi @swlicenses

here’s a demo https://stackblitz.com/edit/angular-etuc6n?file=src/app/hello.component.ts

Let me know if it works for you.

Hi @aleksandra_budnik I want to call the afterChange event manually from my typescript code .

Can you share more details? Is it an external button, method?

We should be able to use addHook but not in all cases. (docs: https://handsontable.com/docs/6.1.1/Core.html#addHook)

So, I have two Handsontable on my page, let’s say H1 and H2. I want to update the row of H2 based on user input in H1 and vice-versa. When I am calling H2.setCellData() from the afterChange hook of H1 then as per my understanding, immediately afterChange event of H2 must call out but it is not happenning, so I want to call it manually.

Thank you for sharing. I will ask our developer to send some tips or demos and I’ll be back with news.

Hi @swlicenses

I have a demo for you. Each time you change something in the first table it is also change for the second one, https://stackblitz.com/edit/angular-1e8fnt?file=src/app/app.component.ts