Skip to contents

The textarea editor allows entering of multiple lines of plain text

Usage

set_column_editor_text_area(
  widget,
  columns,
  elementAttributes = list(maxlength = 10),
  mask = "",
  select_contents = TRUE,
  vertical_navigation = "editor",
  shift_enter_submit = TRUE
)

Arguments

widget

A tabulator() HTML widget.

columns

The name of the column the formatter is applied to.

elementAttributes

Set attributes directly on the textarea element

mask

Apply a mask to the input to allow characters to be entered only in a certain order

select_contents

When the editor is loaded select its text content

vertical_navigation

Determine how use of the up/down arrow keys will affect the editor, this can take three different types of value: hybrid, editor and table

shift_enter_submit

Submit the cell value when the shift and enter keys are pressed

Value

The updated tabulator() HTML widget