inst/examples/15-data/ui.R

library(shiny)
library(shinyTree)


#' #' Example of storing and retreiving data in the tree

shinyUI(
  pageWithSidebar(
    # Application title
    headerPanel("shinyTree data with 'selected' input"),
    
    
    sidebarPanel(
      helpText(HTML("An example of using storing and retreiving data in the tree. Select roo1 or leaf1 to see stored data."))
    ),
    mainPanel(
      "Currently Selected:",
      verbatimTextOutput("selTxt"),
      hr(),
      shinyTree("tree")
    )
  ))

Try the shinyTree package in your browser

Any scripts or data that you put into this service are public.

shinyTree documentation built on Aug. 8, 2023, 1:08 a.m.