I’m having an issue using the plugin “HiddenColumns”. I basically want to use it to show all of the currently hidden columns, but its only showing every other column.
For example, I have the following columns hidden: 0,1,2,3,4,5,6,7,8,9,10
When I run the following code:
var hiddenPlugin = hot.getPlugin(‘hiddenColumns’);
var currentHidden = hiddenPlugin.hiddenColumns;
hiddenPlugin.showColumns(currentHidden);
hot.render();
It shows some columns, but these columns are still hidden: 1,3,5,7,9
If I do it again, the hidden columns go from 1,3,5,7,9 to 3,7.
You can see whats happening in the jsFiddle below.
https://jsfiddle.net/thenoune/jomesefc/2/
Am I doing something wrong with this plugin?