Description Usage Arguments Value Author(s) Examples
Directly render a set of dq_boxes into an uiOutput element. All given dq_boxes will be prepared automatically, meaning that they become 'collapsible' and 'open_callback'ed.
1 |
... |
a set of dq_boxes |
open |
optional integer or character of length one, specifying the initially opened box |
fluidRow containing the grouped dq_boxes
richard.kunze
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## Only run examples in interactive R sessions
if (interactive()) {
library(shiny)
shinyApp(
ui = fluidPage(
fluidRow(column(6, uiOutput("myGroup")))
),
server = function(input, output) {
output$myGroup <- render_dq_box_group(
dq_box("Random Input1", dq_space(), "End of Content",
title = "TestBox1", width = 12),
dq_box("Random Input2", dq_space(), "End of Content",
title = "TestBox2", width = 9),
dq_box("Random Input3", dq_space(), "End of Content",
title = "TestBox3", width = 12),
open = 3L)
}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.