I was working with handsontable and noticed that the afterCreateCol hook seems to be malfunctioning when it is triggered using ctrl+z or hot.undo(). It seems to work as designed if you use the context menu to insert column left or right, but when I create columns using ctrl+z or hot.undo() after removing columns, the amount does not seem to be correct. Amount seems to be specifying the index of the last column inserted and not the amount of columns that were actually inserted.
I created a JSfiddle (http://jsfiddle.net/mountaineerfan5/pc3x0z6c/) as an example to reproduce the problem. If you remove multiple columns using the context menu and then do ctrl+z, the afterCreateCol amount is not producing the correct results. I have index and amount being console logged to check their values.
Thanks for your help.