set_formatter_textarea | R Documentation |
Set text area formatter
set_formatter_textarea(widget, column, hoz_align = "left")
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(
id = c(1, 2),
txt = c(
"This\nis\nsome\ntext\nwith\nmultiple\nline\nbreaks",
"- R\n- Python\n- Julia"
)
)
tabulator(data, width = 200) |>
set_formatter_textarea("txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.