R6 class that renders a table in HTML.
The 'TableHtmlRenderer' class creates a HTML representation of a table.
R6Class
object.
new()
Create a new 'TableHtmlRenderer' object.
TableHtmlRenderer$new(parentTable)
parentTable
Owning table.
No return value.
getTableHtml()
Generate a HTML representation of the table.
TableHtmlRenderer$getTableHtml(styleNamePrefix = NULL)
styleNamePrefix
A character variable specifying a prefix for all named CSS styles, to avoid style name collisions where multiple tables exist.
A list containing HTML tags from the 'htmltools' package. Convert this to a character variable using 'as.character()'.
clone()
The objects of this class are cloneable with this method.
TableHtmlRenderer$clone(deep = FALSE)
deep
Whether to make a deep clone.
# This class is for internal use only. It is # created only by the BasicTable class when rendering to HTML. # See the package vignettes for more information about outputs. library(basictabler) tbl <- qtbl(data.frame(a=1:2, b=3:4)) tbl$renderTable()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.