inst/examples/gridFiltering/server.R

shinyServer(
  function(input, output, session){

    output[["tree"]] <- renderJstree({
      jstree(nodes, grid = grid, checkboxes = TRUE) %>%
        onRender(onrender)
    })

    observeEvent(input[["range"]], {
      session$sendCustomMessage("hideNodes", input[["range"]])
    })

  }
)

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.