View source: R/updateHierarchyInput.R
| updateHierarchyInput | R Documentation |
Update a hierarchical input from the server
updateHierarchyInput(
session = shiny::getDefaultReactiveDomain(),
inputId,
data = NULL,
levels = NULL,
selected = NULL,
expanded = NULL,
clear = FALSE,
open = NULL
)
session |
Shiny session object. |
inputId |
The input id to update. |
data |
Optional new data frame. |
levels |
Optional hierarchy column names (required if |
selected |
Optional vector of node ids to select (cascades to descendants). |
expanded |
Optional vector of node ids to expand. |
clear |
If |
open |
If |
No useful return value, invisibly NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.