I have this reproducible code below using the Iris dataset. I am wondering how I can create an additional table below the current table or in a better scenario how I can create a tabset tab to include an additional table.
Code and Screenshot of Output below:
library(shiny)
library(DT)
shinyApp(
ui = fluidPage(
textInput('search2', "Search 2"),
DTOutput('dt')
),
server = function(input, output, session) {
DTproxy <- dataTableProxy("dt")
output$dt = renderDT(iris)
observeEvent(input$search2, {
updateSearch(DTproxy, keywords = list(global = input$search2, columns = NULL))
})
})