SlickGrid doesn't have a concept of showing or hiding columns. It shows whatever columns you specify in the constructor or in a later call to grid.setColumns()
. If you want to hide a column, just remove it from the columns array you call grid.setColumns()
again.
You can keep the original columns array with all the columns in a separate variable.