Comment box not showing in certain cells

Tags: #<Tag:0x00007f8b1ce92628>

I want to show a comment for certain cells, depending on the content of the cell.
For this reason I implemented a check in the aftertValidate hook.
Unfortunately, the comment box is displayed only for some cells on mouseover, while nothing happens for other cells.

Are there any known reasons for this behavior?

Hey @dennis

Here is a demo that can help you to start https://jsfiddle.net/handsoncode/u3tjz1L2/

If auto validates the results after loading the table. It also makes cells invalid upon change. It, however, does not remove the comment when the cell is validated correctly. But you can use the removeCommentAtCell method to remove the comment when the cell is valid (docs: https://handsontable.com/docs/8.3.0/Comments.html#removeCommentAtCell)

Let me know if you need anything more than that.

Hi @dennis

I’m closing this issue as there is no update on the subject.

If you’d need anything please send me an email at support@handsontable.com