Skip to content

Commit

Permalink
essai two grids in one app
Browse files Browse the repository at this point in the history
  • Loading branch information
stla committed Oct 27, 2023
1 parent 2292272 commit cd61159
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion inst/essais/essai_gridSearch.R
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,17 @@ ui <- fluidPage(
)
),
titlePanel("jsTree grid"),
jstreeOutput("jstree")
splitLayout(
jstreeOutput("jstree"),
jstreeOutput("jstree2")
)
)

server <- function(input, output){
output[["jstree"]] <-
renderJstree(jstree(nodes, search = TRUE, grid = grid, types = types))
output[["jstree2"]] <-
renderJstree(jstree(nodes, search = TRUE, grid = grid, types = types))
}

shinyApp(ui, server)

0 comments on commit cd61159

Please sign in to comment.