PropertyGrid-class: PropertyGrid widget

PropertyGridR Documentation

PropertyGrid widget

Description

See property_grid().

Super classes

Widget -> ScrollView -> PropertyGrid

Public fields

max_key_width

Maximum key width in terminal cells.

formatter

Optional ⁠function(name, value)⁠.

Active bindings

data

The current named data (reactive).

Methods

Public methods

Inherited methods

PropertyGrid$new()

Create a property grid. See property_grid().

Usage
PropertyGrid$new(
  data = list(),
  formatter = NULL,
  max_key_width = 20L,
  id = NULL,
  classes = NULL,
  style = NULL,
  disabled = FALSE
)
Arguments
data

Named list/vector or data frame.

formatter

Optional value formatter.

max_key_width

Maximum key width.

id, classes, style, disabled

See property_grid().


PropertyGrid$default_style()

The built-in scrollable style.

Usage
PropertyGrid$default_style()

PropertyGrid$set_data()

Replace all rows.

Usage
PropertyGrid$set_data(data)
Arguments
data

New named data.


PropertyGrid$clone()

The objects of this class are cloneable with this method.

Usage
PropertyGrid$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


termr documentation built on Oct. 21, 2026, 5:13 p.m.