Add modification buttons as a column
addButtons(
df,
columnName,
ns,
iCol = "i",
canEditRow = TRUE,
canDeleteRow = TRUE,
canCloneRow = TRUE,
statusCol = "_editbl_status"
)df with extra column containing buttons
data.frame
character(1)
namespace function
character(1) name of column containing a unique identifier.
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.
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.
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.
character(1) name of column with general status (e.g. modified or not).
if NULL, the data is interpreted as 'unmodified'.
Jasper Schelfhout