| getClinDTButtons | R Documentation |
Get a default set of buttons to be included in the interactive table for clinical data.
getClinDTButtons(
type = c("copy", "csv", "excel", "pdf", "print"),
typeExtra = NULL,
opts = NULL
)
type |
Character vector with type of buttons, among:
|
typeExtra |
Character vector with type of button(s) that should be added to the default set of buttons. |
opts |
List with extra opts for specific buttons. The list should be named with the button type. |
The 'colvis' button doesn't display
the non visible columns.
These are defined internally with:
options = list(
columnDefs = list(
list(targets = [X], className = 'noVis')
)
)
with [X] the index of the column(s) in Javascript notation (starting from 0)
Nested list with default buttons
to be passed on to 'buttons' option in
the getClinDT.
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.