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

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -