cdr_row_editor_html: The html for the UI to add and delete new rows

View source: R/cdr_row_editor_html.R

cdr_row_editor_htmlR Documentation

The html for the UI to add and delete new rows

Description

Responsive to given permissions

Usage

cdr_row_editor_html(
  notes_txt = "",
  id,
  add_row_permission = F,
  del_row_permission = F
)

Arguments

notes_txt

message to send to the UI edit page

id

namespace id - corresponds to table name

add_row_permission

T or F: whether user has permission to add a new observation, i.e. the Unique ID for a row

del_row_permission

T or F: whether user has permission to delete a new observation, i.e. the Unique ID for a row

Value

ui output component

Examples

crudr:::cdr_row_editor_html('hello', 'iris', TRUE, TRUE)

eauleaf/crudr documentation built on Jan. 29, 2024, 4:39 p.m.