mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
Deploying to gh-pages from @ agdamsbo/FreesearchR@54dd332cd8 🚀
This commit is contained in:
parent
4cf4bd0499
commit
6d545337de
328 changed files with 12930 additions and 1662 deletions
75
reference/columnSelectInput.md
Normal file
75
reference/columnSelectInput.md
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
# A selectizeInput customized for data frames with column labels
|
||||
|
||||
Copied and modified from the IDEAFilter package Adds the option to
|
||||
select "none" which is handled later
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
columnSelectInput(
|
||||
inputId,
|
||||
label,
|
||||
data,
|
||||
selected = "",
|
||||
...,
|
||||
col_subset = NULL,
|
||||
placeholder = "",
|
||||
onInitialize,
|
||||
none_label = "No variable selected",
|
||||
maxItems = NULL
|
||||
)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- inputId:
|
||||
|
||||
passed to
|
||||
[`selectizeInput`](https://rdrr.io/pkg/shiny/man/selectInput.html)
|
||||
|
||||
- label:
|
||||
|
||||
passed to
|
||||
[`selectizeInput`](https://rdrr.io/pkg/shiny/man/selectInput.html)
|
||||
|
||||
- data:
|
||||
|
||||
`data.frame` object from which fields should be populated
|
||||
|
||||
- selected:
|
||||
|
||||
default selection
|
||||
|
||||
- ...:
|
||||
|
||||
passed to
|
||||
[`selectizeInput`](https://rdrr.io/pkg/shiny/man/selectInput.html)
|
||||
|
||||
- col_subset:
|
||||
|
||||
a `vector` containing the list of allowable columns to select
|
||||
|
||||
- placeholder:
|
||||
|
||||
passed to
|
||||
[`selectizeInput`](https://rdrr.io/pkg/shiny/man/selectInput.html)
|
||||
options
|
||||
|
||||
- onInitialize:
|
||||
|
||||
passed to
|
||||
[`selectizeInput`](https://rdrr.io/pkg/shiny/man/selectInput.html)
|
||||
options
|
||||
|
||||
- none_label:
|
||||
|
||||
label for "none" item
|
||||
|
||||
- maxItems:
|
||||
|
||||
max number of items
|
||||
|
||||
## Value
|
||||
|
||||
a [`selectizeInput`](https://rdrr.io/pkg/shiny/man/selectInput.html)
|
||||
dropdown element
|
||||
Loading…
Add table
Add a link
Reference in a new issue