A common hook for all event

Tags: #<Tag:0x00007f0b0075eb50>

In Handson table, any hook which work for all event. i.e column width change, add/remove column, sorting or move column.
So, If I do any action on Handson table, I write a common method and perform related action.

Hey @lokesh.jain

it would be no reason to call one hook every time something happens. But if you use afterOnCellMouseDown, afterDocumentKeyDown, afterRender, afterScrollHorizontally and afterScrollVertically they should cover most of the possible interactions with the table.

Basically my concern is afterColumnResize, afterColumnMove
I get current column values,
And I want array/object of all column values

And I want array/object of all column values

so you can call getData() method in the resize and move hooks. It will print the whole table.

I think some mistake in my last response.
For array/object my mean to Column Width Object i.e [125,50,78,…]
same for column move manualColumnMove object

Sorry to say but this operation currently has some problems, more described at https://github.com/handsontable/handsontable/issues/4666

Whatever you use you still get the old value https://jsfiddle.net/gn1fd75s/1/

HI @lokesh.jain

I’m glad to announce that the issue has been finally solved in version 8.0.0-beta1 yesterday

Below are the resources

</style><script src="https://cdn.jsdelivr.net/gh/handsontable/handsontable@release/8.0.0-beta.1/dist/handsontable.full.js"></script><link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/gh/handsontable/handsontable@release/8.0.0-beta.1/dist/handsontable.full.css">

And this is how you can download the beta from NPM

npm i handsontable@beta

I appreciate any feedback. Thank you.