title: Hide certain columns in a responsive data table using DT package
body: <p>I am trying to create a responsive data table for my shiny application using <code>DT</code> package. I want to hide certain columns in advance. For example:</p>
  
  <pre><code>library("shiny")
  library("DT")
  shinyApp(
    ui = fluidPage(DT::dataTableOutput('tbl')),
    server = function(input, output) {
      output$tbl = DT::renderDataTable(
        iris,extensions="Responsive"
      )
    }
  )
  </code></pre>
  
  <p>This output gives me 5 columns. It only hides columns when I narrow the page. But, I want to hide last 3 columns in advance and I just want to see first two columns every time. Is there a way to do that?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>Example output</p>
  
  <p><a href="https://i.stack.imgur.com/e2BwT.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/e2BwT.jpg" alt="enter image description here"></a></p>