getTblTheme: Get a built-in theme for styling a table.

Description Usage Arguments Value Examples

View source: R/TableThemes.R

Description

getTblTheme returns the specified theme.

Usage

1
getTblTheme(parentTable, themeName = NULL)

Arguments

parentTable

Owning table.

themeName

The name of the theme to retrieve.

Value

A TableStyles object.

Examples

1
2
3
4
library(basictabler)
tbl <- qtbl(data.frame(a=1:2, b=3:4))
tbl$theme <- getTblTheme(tbl, "largeplain")
tbl$renderTable()

cbailiss/basictabler documentation built on July 2, 2021, 1:16 a.m.