Update a Select List with Column Names
Usage
update_selectize_variables(
id,
x,
find = NULL,
use = NULL,
selected = NULL,
preserve = TRUE,
none = TRUE,
server = TRUE
)Arguments
- id
A
characterstring specifying the namespace (must matchselectize_ui()).- x
A reactive
matrix-like object.- find
A predicate
functionfor column selection (seearkhe::detect()).- selected
A
charactervector specifying the initially selected value(s).- preserve
A
logicalscalar: should existing selection be preserved on update?- none
A
logicalscalar: should a placeholder be added as the first element?- server
A
logicalscalar: should server-side selectize be used?
Value
A reactive character vector of column names.
Side effect: change the value of a select input on the client.
