set_formatter_textarea {rtabulator} | R Documentation |
Set text area formatter
Description
Set text area formatter
Usage
set_formatter_textarea(widget, column, hoz_align = "left")
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(
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")
[Package rtabulator version 0.1.2 Index]