createButtons: Create buttons to modify the row.

createButtonsR Documentation

Create buttons to modify the row.

Description

Create buttons to modify the row.

Usage

createButtons(
  row,
  suffix,
  ns,
  canEditRow = TRUE,
  canDeleteRow = TRUE,
  statusCol = "status"
)

Arguments

row

tibble with single row

suffix

character(1)

ns

character(1) namespace

canEditRow

can be either of the following:

  • logical, e.g. TRUE or FALSE

  • function. Needs as input an argument row which accepts a single row tibble and as output TRUE/FALSE.

canDeleteRow

can be either of the following:

  • logical, e.g. TRUE or FALSE

  • function. Needs as input an argument row which accepts a single row tibble and as output TRUE/FALSE.

statusCol

character(1) name of column with general status (e.g. modified or not). if NULL, the data is interpreted as 'unmodified'.

Details

buttons used per row in the app.

Value

character(1) HTML


editbl documentation built on April 3, 2025, 6:21 p.m.