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

Hi,

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.

Hi, some news about this error?

Hi @erpangra12

this issue hasn’t been solved yet. However, it should not block any operations on the table of logic attached. Do you experience any further issues after this error?

no I don’t have any further issue ,just error in console. Thank you anyway!

1 Like

Hi @accounts1 @erpangra12 I just wanted to let you know that we have just released Handsontable v8.4.0 that fixes the checkboxes issue that we discussed some time ago (reported at https://github.com/handsontable/handsontable/issues/5934)

Here’s a full list of changes for the version https://github.com/handsontable/handsontable/issues/7998

If you’d have any questions please feel free to send me an email at support@handsontable.com