countVisibleCols not working

Tags: #<Tag:0x00007efc6ad13478>

hi, when i try to get the last visible column the docs say to use hotInstance.countVisibleCols() but this returns the total number of columns, not the number of visible columns

Hi @cflorioluis

have you tried the getLastVisibleColumn method of the AutoColumnSize plugin?
Docs: https://handsontable.com/docs/8.3.1/AutoColumnSize.html#getLastVisibleColumn (it returns an index of a last visible column).