set_formatter_tick_cross {rtabulator} | R Documentation |
Set tick cross formatter
Description
Set tick cross formatter
Usage
set_formatter_tick_cross(widget, column, hoz_align = "center")
Arguments
widget |
A |
column |
The name of the column the formatter is applied to. |
hoz_align |
(character): The horizontal alignment of the column. |
Value
The updated tabulator()
HTML widget
Examples
data <- data.frame(
Artist = c("Art Blackey", "Nirvana", "Bob Marley"),
Grunge = c(0, 1, 0),
Jazz = c(1, 0, 0),
Reggae = c(0, 0, 1)
)
tabulator(data, width = 400) |>
set_formatter_tick_cross("Grunge") |>
set_formatter_tick_cross("Jazz") |>
set_formatter_tick_cross("Reggae")
[Package rtabulator version 0.1.2 Index]