ColVis initialize column(s) to be hidden

ColVis initialize column(s) to be hidden

darsheetsdarsheets Posts: 4Questions: 0Answers: 0
edited May 2013 in DataTables 1.9
I am using ColVis (http://datatables.net/extras/colvis/). Is there a way to hide few columns initially when the table is created and on checking the column, it appears again ?

Basically what I want to do is if the web page is viewed on a mobile browser, few columns are hidden by default. But if the user wants, he/she can unhide those columns.

Thanks,
Darsheet

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Use the bVisible option of DataTables.

    Allan
This discussion has been closed.