inst/examples/10-node-ids/ui.R

library(shiny)
library(shinyTree)

#' Define UI for application that demonstrates a simple Tree editor
#' @author Mike Schaffer \email{mschaff@gmail.com}
shinyUI(
  pageWithSidebar(
    # Application title
    headerPanel("shinyTree with node selection using node stids and stclass labels"),
    
    sidebarPanel(
      shinyTree("tree", checkbox=TRUE, theme="proton")
    ),
    mainPanel(
      "Currently Selected:",
      verbatimTextOutput("selTxt"),
      hr(),
      "Full Tree:",
      verbatimTextOutput("treeTxt")
    )
  ))

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.