inst/examples/contextMenu2/ui.R

shinyUI(
  fluidPage(
    tags$head(
      tags$style(
        HTML(".green {color: green;}")
      )
    ),

    h3(
      "The first node has children and it is not possible ",
      "to delete it with the context menu."
    ),
    h3(
      "Nodes with type 'unalterable' cannot be altered with the context menu."
    ),

    jstreeOutput("mytree")
  )
)
stla/jsTreeR documentation built on April 28, 2024, 12:19 a.m.