javascript - How do you programmatically remove a comment in handsontable? -


i'm using handsontable , need remove comment programmatically, haven't found way it. looking through code, seems should able say:

var hot = new handsontable(element, options); hot.getplugin('comment').removecommentatcell(row, column); 

but hot.getplugin() doesn't seem work. appreciated.

of course, figure out right after posting. plugin name "comments" not "comment". comments within handsontable source apparently need updated throw errors in situations , reference plugin name of "comment" got original idea.

answer:

var hot = new handsontable(element, options); hot.getplugin('comments').removecommentatcell(row, column); 

Comments

Popular posts from this blog

c# - How can I have the VS Debugger break in the correct location for exceptions thrown in Async methods in a Console App? -

php - Issues outputting data after prepared statement with loops -

javascript - How to pass a property by reference -