Change a categorical legend in the client
updateCategoricalFilter(
session,
inputId,
label = NULL,
select = NULL,
deselect = NULL
)The session object passed to function given to
shinyServer.
The id of the input object.
The label to set for the input object.
Items to be selected.
Items to be deselected.
This function only affects the label and the selection. Re-creating the items requires deleting and re-creating the legend using shinyjs, for example.
Other update functions:
updateNumericFilter()