[GH #5934] Adding and clicking a checkbox produces an error

Tags: #<Tag:0x00007fd2e3792328> #<Tag:0x00007fd2e37975d0>


I’ve added a checkbox to the header of one of my columns, in the aim of making it a ‘select all’ button. The only way I’ve been able to do this is by making the column a type of ‘checkbox’ and then inserting HTML in the header to make a checkbox.

However on clicking the checkbox in the header, I’m getting a console error of “Uncaught TypeError: Cannot set property ‘NaN’ of undefined” against the HoT ‘set’ function.

This doesn’t seem to prevent me from doing what I need to do with the column, but thought I should raise it as a possible issue/problem. Have recreated it as a JSFiddle here: http://jsfiddle.net/qsufbj27/3/

Hey @accounts1

I think that we should fix this issue first https://github.com/handsontable/handsontable/issues/5934

I will update you as soon as we get this fixed.