Making tabs interactive in Shiny Dashboard

Hi all,

Is it possible to make the tabs interactive for the below code. So, only when I select "B" from the dropdown, Tab B should be open

ui <- dashboardPage(
  dashboardHeader(title = "Loading data"),
dashboardSidebar(fileInput("datafile","Choose the csv file",multiple = TRUE, 
                           accept = c("text/csv","text/comma-separated-values,text/plain",".csv")),
                 fileInput("datafile1","Choose the excel file",multiple = TRUE, 
                           accept = c(".xlsx")),
                 selectInput("S","Select Tabs",choices = c("A","B"))),
  tabBox(fluidRow(title = "Dataset",uiOutput("filter_70"),width = 5000),fluidRow(title="B"))

server <- function(input,output){


shinyApp(ui, server)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.