View source: R/render_tableHTML_family.R
render_tableHTML | R Documentation |
This function is used to implement tableHTML in a shiny app. This function is used in the shiny server.R file. Internally, it just calls renderUI, since tableHTML creates HTML code.
render_tableHTML(expr, ...)
expr |
A tableHTML object. |
... |
Other arguments passed along to |
shiny::renderUI()
## Not run:
library(shiny)
shinyApp(
ui = fluidPage(
fluidRow(
#leave some spacing
br(),
column(width = 1),
tableHTML_output("mytable"))
),
server = function(input, output) {
output$mytable <- render_tableHTML(
tableHTML(mtcars)
)}
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.