title: Hide few column from default in datatable
body: <p>I am new to datatable, i am using <code>colvis</code> to show the columns in table, all the data i am getting from my database and i would like to keep few fields hidden by default. I am using this method to extends.</p>
  
  <pre><code>var oTable = table.dataTable({
          "language": {
              "aria": {
                  "sortAscending": ": activate to sort column ascending",
                  "sortDescending": ": activate to sort column descending"
              },
              "emptyTable": "No data available in table",
              "info": "Showing _START_ to _END_ of _TOTAL_ entries",
              "infoEmpty": "No entries found",
              "infoFiltered": "(filtered1 from _MAX_ total entries)",
              "lengthMenu": "_MENU_ entries",
              "search": "Search:",
              "zeroRecords": "No matching records found"
          },
  
  
  
          buttons: [
              { extend: 'csv', className: 'btn purple btn-outline ' },
              { extend: 'colvis', className: 'btn dark btn-outline', text: 'Columns'}
          ],
  
  
  
          "pageLength": 20,
  
          "dom": "&lt;'row' &lt;'col-md-12'B&gt;&gt;&lt;'row'&lt;'col-md-6 col-sm-12'l&gt;&lt;'col-md-6 col-sm-12'f&gt;r&gt;&lt;'table-scrollable't&gt;&lt;'row'&lt;'col-md-5 col-sm-12'i&gt;&lt;'col-md-7 col-sm-12'p&gt;&gt;"
  
      });
  }
  </code></pre>
  
  <p>Now i dont know how can i keep columns hidden by default and show only if user select.</p>
  
  <p>Hide few columns by default when table load. </p>
  
  <p>Thank you! </p>