| TableHtmlRenderer | R Documentation |
The 'TableHtmlRenderer' class creates a HTML representation of a table.
R6Class object.
new()Create a new 'TableHtmlRenderer' object.
TableHtmlRenderer$new(parentTable)
parentTableOwning table.
No return value.
getTableHtml()Generate a HTML representation of the table.
TableHtmlRenderer$getTableHtml(styleNamePrefix = NULL)
styleNamePrefixA 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)
deepWhether 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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.