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
character
string specifying the namespace (must matchselectize_ui()
).- x
A reactive
matrix
-like object.- find
A predicate
function
for column selection (seearkhe::detect()
).- selected
A
character
vector specifying the initially selected value(s).- preserve
A
logical
scalar: should existing selection be preserved on update?- none
A
logical
scalar: should a placeholder be added as the first element?- server
A
logical
scalar: should server-side selectize be used?
Value
A reactive character
vector of column names.