tab specific sidebar in shinydashboard
问题 I am using the shinyjs package in R to allow for onclick type events to navigate between tabs in a tabset. Each tab has a specific sidebar, and there are multiple (two) ways of getting between each tab (i.e. via clicking on the tab itself or by clicking on the valueBoxes). I would like to ensure that no matter what way you get to a specific tab the correct sidebar loads. # load libraries require(shiny) require(shinydashboard) require(shinyjs) # create a simple app ui <- dashboardPage( title=