I need to create a function that does some data updates and re-rendering to a rendered instance of handsontalbe (var ht = new Handsontable(el,options)
). What I can easily get in my case is el
(the element which is used as a container of the instance). Is it possible to get ht
by only knowing el
? Or I have to "remember" ht
somewhere to access it later?
(I've tried Handsontable(el)
and it creates a new table, it doesn't return an already created instance)
Handsontable.getInstances(element)
to achieve this, right? – Sterculiaceous