javascript - Handsontable Additional Render Calls when Enabling columnSorting and hiddenColumns Options -


i have created handsontable per following configuration...

var hot = new handsontable(container, {   data: handsontable.helper.createspreadsheetdata(8, 6)   , rowheaders: true   , colheaders: true   , columnsorting: true   , hiddencolumns: true }); 

and have noticed adding columnsorting , hiddencolumns options causes 2 additional renders on initial construction of handsontable.

additionally, when table constructed , hot.updatesettings() called. hiddencolumns option causes renderer called twice.

this not ideal causes performance issues if have multiple handsontables running on webpage.

does know why occurring? have created fiddle below re-produces issue.

https://jsfiddle.net/joshadams/69qsdy7f/


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -