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
65
reference/show_data.md
Normal file
65
reference/show_data.md
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
# Display a table in a window
|
||||
|
||||
Display a table in a window
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
show_data(
|
||||
data,
|
||||
title = NULL,
|
||||
options = NULL,
|
||||
show_classes = TRUE,
|
||||
type = c("popup", "modal", "winbox"),
|
||||
width = "65%",
|
||||
...
|
||||
)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- data:
|
||||
|
||||
a data object (either a `matrix` or a `data.frame`).
|
||||
|
||||
- title:
|
||||
|
||||
Title to be displayed in window.
|
||||
|
||||
- options:
|
||||
|
||||
Arguments passed to
|
||||
[`toastui::datagrid()`](https://dreamrs.github.io/toastui/reference/datagrid.html).
|
||||
|
||||
- show_classes:
|
||||
|
||||
Show variables classes under variables names in table header.
|
||||
|
||||
- type:
|
||||
|
||||
Display table in a pop-up with
|
||||
[`shinyWidgets::show_alert()`](https://dreamrs.github.io/shinyWidgets/reference/sweetalert.html),
|
||||
in modal window with
|
||||
[`shiny::showModal()`](https://rdrr.io/pkg/shiny/man/showModal.html)
|
||||
or in a WinBox window with
|
||||
[`shinyWidgets::WinBox()`](https://dreamrs.github.io/shinyWidgets/reference/WinBox.html).
|
||||
|
||||
- width:
|
||||
|
||||
Width of the window, only used if `type = "popup"` or
|
||||
`type = "winbox"`.
|
||||
|
||||
- ...:
|
||||
|
||||
Additional options, such as `wbOptions = wbOptions()` or
|
||||
`wbControls = wbControls()`.
|
||||
|
||||
## Value
|
||||
|
||||
No value.
|
||||
|
||||
## Note
|
||||
|
||||
If you use `type = "winbox"`, you'll need to use
|
||||
[`shinyWidgets::html_dependency_winbox()`](https://dreamrs.github.io/shinyWidgets/reference/html_dependency_winbox.html)
|
||||
somewhere in your UI.
|
||||
Loading…
Add table
Add a link
Reference in a new issue