Hook order preference

Tags: #<Tag:0x00007efc6e2c3460>

Hello,

I apologize for such a simple question, and I think I missed it somewhere on the site. Is there a page where we can see the order in which hooks will fire? For example, if I add ‘afterSelection’ and ‘afterOnCellMouseDown’ hooks to my handsontable implementation, how can I figure out which code will execute first?

Thanks.

Hi @bluefrogjam

There are too many hooks and types of operations to show a graph. But you can test the order and feedback from hooks here https://handsontable.com/docs/events-and-hooks/#overview and the demo https://jsfiddle.net/f2r7s8mu/

Thanks Aleksandra, this is what I needed.