HTable_row_bg_color: Add a background color style to a row

Description Usage Arguments

Description

Add a background color style to each <td> and, optionally, <th> tag in a row. Changes the styles field.

Usage

1
obj$row_bg_color(row = NULL, color = NULL, include_header = FALSE)

Arguments

row

Numeric vector of which rows to target.

color

Character vector (length 1) of an HTML color name, hex color code, or rgb color of the form rgb(x, y, z).

include_header

Boolean if rows should include the header as the 1st index. E.g. if FALSE, row = 1 will target the first row, but if TRUE, row = 1 will target the header.


fazetu/htable documentation built on Feb. 12, 2020, 10:13 a.m.