It’s my assumption that the afterInit hook is supposed to return an instance of the table after it is initialized. Currently, it’s returning undefined with the latest versions of Angular and HoT.
afteInit hook not returning table instance (Angular)
Hi @pfifelski
afterInit
does not take any arguments https://github.com/handsontable/handsontable/blob/master/handsontable.d.ts#L1776
However, this
is the reference to the table component.
Would it be possible for you to show me an example in that sandbox of how you mean using this to return that specific instance?
Sorry, for the delay @pfifelski
We got a report that the newest version of the wrapper shows a warning for the method that is used to pass the reference to the table.
I have reported it here https://github.com/handsontable/handsontable/issues/8664
Hi @pfifelski
The issue we discussed https://github.com/handsontable/handsontable/issues/8664 is solved in Handsontable v10.
Here https://handsontable.com/docs/migration-from-9.0-to-10.0/ is a migration guide from v9 and here https://handsontable.com/docs/release-notes/#_10-0-0 is a full list of changes.
If you would have any questions please send them over to me at support@handsontable.com