Can't catch events from headers

Tags: #<Tag:0x00007efc64834818>

Hello,

I can’t manage to catch events from headers (column header and row header). When i attach a ‘click’ event to a HTML element in header (with document.addEventListener() or Handsontable.dom.addEvent()) the event is not fired.

Any ideas ?

Pierre

Hi Pierre,

which type of event you would like to use? We have a lot of events in the docs. Here’s an example with the mousedown http://jsfiddle.net/v5szxpe7/ It shows an alert each time user clicks a column header

Hi,

It worked perfectly with addHook() method with click event, thank you for the advice.

Pierre

Great. I am happy to help.