updateCategoricalFilter: Change a categorical legend in the client

Description Usage Arguments Details See Also

View source: R/update-input.R

Description

Change a categorical legend in the client

Usage

1
2
3
4
5
6
7
updateCategoricalFilter(
  session,
  inputId,
  label = NULL,
  select = NULL,
  deselect = NULL
)

Arguments

session

The session object passed to function given to shinyServer.

inputId

The id of the input object.

label

The label to set for the input object.

select

Items to be selected.

deselect

Items to be deselected.

Details

This function only affects the label and the selection. Re-creating the items requires deleting and re-creating the legend using shinyjs, for example.

See Also

categoricalColorFilter()

Other update functions: updateNumericFilter()


rhenkin/vfinputs documentation built on Oct. 23, 2020, 1:30 a.m.