[GH #9513] Comments plugin problem

Tags: #<Tag:0x00007efc6ae6c040> #<Tag:0x00007efc6b163e88>

Hello,
I am using handsontable version 12.0.0 in Angular and while trying to use commentsPlugin, I came across a problem. The comments seems to work randomly.

After a few trials, it seems that the problem appears when columns are defined (opposed to columnHeader set to true) in the handsontable settings.

Here’s a fiddle to illustrate my problem:
https://jsfiddle.net/ofLqeyph/3/

Thanks for your help.

Hi @renaud.bellotto

If the data in the first row is incomplete (it does not provide all the keys of the dataset) Handsontable has some issues with the calculations of cells. But that should be gone if dataSchema is used. However, in this case, it does not solve the issue. Here’s an updated demo https://jsfiddle.net/njd2wz1k/5/ with dataSchema.

I reported this issue on the official Github board at https://github.com/handsontable/handsontable/issues/9513 and till the issue is solved I recommend adding the missing keys to the first’s row object as shown here https://jsfiddle.net/njd2wz1k/7/

Thanks for the workaround @aleksandra_budnik !!
I didn’t know about the dataschema.

Hello - I am wondering if this issue has been fixed. If not, I am wondering if the columns in the table will be moveable when the first row is described in the way shown in the example. Thanks.

Hi @tech

Thank you for contacting us. I checked the mentioned issue with the current version of Handsontable, 15.0, and it’s still valid.

Regarding your second question, if you mean the example in the first message when you set manualColumnMove: true it will be possible to move the columns around the table.