DataTable hiding/showing isVisible issue

https://snippet.webix.com/u9wafme8

Hi,

In the above code snippet, I tried to hide a column in a datatable and refreshed the table. Then when I checked to see if the column is visible, it returns true. Shouldn’t it return false since the column is hidden? How can I get it to return false?

Thanks

Hello @jsnDong,
Please note that isVisible method checks whether the view is visible. In order to check the column you need to use isColumnVisible method:
$$("table").isColumnVisible(columnId)
Take a look at the snippet:
https://snippet.webix.com/749xujtf
Also, you can get a list of hidden columns:
$$("table").getState().hidden