render_tableHTML: Implementing tableHTML in shiny

View source: R/render_tableHTML_family.R

render_tableHTMLR 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 shiny::renderUI().

See Also

shiny::renderUI()

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)


tableHTML documentation built on April 18, 2023, 1:11 a.m.