set_formatter_tick_cross | R Documentation |
Set tick cross formatter
set_formatter_tick_cross(widget, column, hoz_align = "center")
widget |
A |
column |
The name of the column the formatter is applied to. |
hoz_align |
(character): The horizontal alignment of the column. |
The updated tabulator()
HTML widget
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.