# NOT RUN {
## Only run examples in interactive R sessions
if (interactive()) {
library(shiny)
lets <- data.frame(lower = letters[1:5], UPPER = LETTERS[1:5])
shinyApp(
ui = fluidPage(
dq_space(), fluidRow(
column(3, dq_htmltable(
list(list("Description", icon("hashtag")),
list("Value", textInput("value", NULL)),
list("Result", textOutput("result"))),
borders = "inner"
)),
column(2, dq_htmltable(lets, borders = "outer")),
column(3, dq_htmltable(
list(c("Left", "Center", "Right"), c("Center", "Right", "Left")),
align = list(c("LEFT", "center", "right"), c("c", "R", "l")),
borders = "all"
)),
column(2, dq_htmltable(lets, borders = "tex")),
column(2, dq_htmltable(lets, borders = list(
c("top left", "bottom right"), # header
c("", ""), c("", ""), c("", ""), c("", ""), c("bottom", "bottom")
)))
)),
server = function(input, output) {
output$result <- renderText(input$value)
}
)
}
# }
Run the code above in your browser using DataLab