beforeInit hook never fires. afterInit hook fires fine.
Edit: It works with a global hook (example: http://jsfiddle.net/g23ufym7/). If it doesn't work as a regular table option then maybe update the documentation to specify that you can't use it as a setting for the constructor.
beforeInit hookHey @jeremy-smith-maco
I can see that we had a similar report here https://github.com/handsontable/handsontable/issues/3819 and here's another tip from our developer https://github.com/handsontable/handsontable/issues/2636
[...] beforeInit (fired before table created) or construct (fired on object initialization - new Handsontable) event will be usefull for you? But this events are fired only once during initialization.
After playing with hooks and beforeInit hook I came to the conclusion that this is a bug.
The beforeInit hook is fired before any previously added listener to the Handsontable (local hooks added using settings object). So it's impossible to listen to that hook.
Fired at https://github.com/handsontable/handsontable/blob/master/src/core.js#L854 but listeners just added here https://github.com/handsontable/handsontable/blob/master/src/core.js#L860.
This issue is still replicable using v8.0.0. Here's an updated demo - https://jsfiddle.net/0rL31km7/
Most helpful comment
After playing with hooks and
beforeInithook I came to the conclusion that this is a bug.The
beforeInithook is fired before any previously added listener to the Handsontable (local hooks added using settings object). So it's impossible to listen to that hook.Fired at https://github.com/handsontable/handsontable/blob/master/src/core.js#L854 but listeners just added here https://github.com/handsontable/handsontable/blob/master/src/core.js#L860.