render_tableHTML {tableHTML} | R Documentation |
Implementing tableHTML in shiny
Description
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.
Usage
render_tableHTML(expr, ...)
Arguments
expr |
A tableHTML object. |
... |
Other arguments passed along to |
See Also
Examples
## 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)
[Package tableHTML version 2.1.2 Index]