Learn R Programming

basictabler (version 0.3.1)

TableHtmlRenderer: A class that renders a table in HTML.

Description

The TableHtmlRenderer class creates a HTML representation of a table.

Arguments

Value

Object of R6Class with properties and methods that render to HTML.

Format

R6Class object.

Fields

parentTable

Owning table.

Methods

Documentation

For more complete explanations and examples please see the extensive vignettes supplied with this package.

new(...)

Create a new table renderer, specifying the field value documented above.

getTableHtml(styleNamePrefix=NULL)

Get a HTML representation of the table.

Examples

Run this code
# NOT RUN {
# This class should not be used by end users.  It is an internal class
# created only by the BasicTable class.  It is used 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()
# }

Run the code above in your browser using DataLab