inst/examples/grid/ui.R

shinyUI(
  fluidPage(
    tags$head(
      tags$style(
        HTML(c(
          ".lightorange {background-color: #fed8b1;}",
          ".lightgreen {background-color: #98ff98;}",
          ".bolditalic {font-weight: bold; font-style: italic; font-size: large;}",
          ".yellow {background-color: yellow !important;}",
          ".centered {text-align: center; font-family: cursive;}",
          ".helvetica {font-weight: 700; font-family: Helvetica; font-size: larger;}"
        ))
      )
    ),
    titlePanel("jsTree grid"),
    jstreeOutput("jstree")
  )
)

Try the jsTreeR package in your browser

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

jsTreeR documentation built on July 4, 2024, 9:08 a.m.