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

View source: R/TableThemes.R

getTblThemeR Documentation

Get a built-in theme for styling a table.

Description

getTblTheme returns the specified theme.

Usage

getTblTheme(parentTable, themeName = NULL)

Arguments

parentTable

Owning table.

themeName

The name of the theme to retrieve.

Value

A TableStyles object.

Examples

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

basictabler documentation built on June 8, 2025, 10:52 a.m.