Add some extra columns to data to allow for / keep track of modifications
initData(
data,
ns,
buttonCol = "buttons",
statusCol = "status",
deleteCol = "deleted",
iCol = "i",
canDeleteRow = TRUE,
canEditRow = TRUE
)
data with extra columns buttons, status, i.
data.frame
namespace function
character(1)
name of column with buttons
character(1)
name of column with general status (e.g. modified or not).
character(1)
name of the column with deletion status.
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.
Jasper Schelfhout