title: DT Fixed Header Frozen on all Tabs of Shiny App R
body: <p>This is an issue with the package <code>DT</code> in R, for Shiny apps.</p>
  
  <p>I noticed that with the option <code>fixedHeader = TRUE</code>, the frozen header will appear on all tabs of a Shiny app. Here is an example illustrating the problem. Simply go to "Tab2" and scroll down, and the header from "Tab1" should be visible (unwanted). I would like the header to only appear on "Tab1".</p>
  
  <pre><code>library(shiny)
  library(DT)
  
  data("volcano")
  
  ui = shinyUI(navbarPage(title = 'Navbar',
    tabPanel('Table',
             fluidPage(
               fluidRow(
                 column(width = 12,
                        DT::dataTableOutput('table'))
                 )
             )
    ),
  
    tabPanel('Tab2',
             fluidPage(
               fluidRow(
                 column(width = 4,
                        style = "height:1500px;background-color:#f0f0f5;border-radius:6px 0px 0px 6px;
                        box-shadow:1px 1px 8px #888888")
               )
             )
    )
  ))
  
  server = shinyServer(function(input, output){
    output$table &lt;- DT::renderDataTable(
      volcano,
      extensions = c('Buttons', 'FixedHeader'),
      options = list(
        pageLength = 100,
        fixedHeader = TRUE
      )
    )
  })
  
  runApp(list(ui=ui, server=server), launch.browser = TRUE)
  </code></pre>