evalCanDeleteRow: Determine if a row can be deleted

View source: R/eDT.R

evalCanDeleteRowR Documentation

Determine if a row can be deleted

Description

Determine if a row can be deleted

Usage

evalCanDeleteRow(row, canDeleteRow = TRUE, statusCol = "status")

Arguments

row

tibble, single row

canDeleteRow

function with argument 'row' defining logic on wether or not the row can be modified. Can also be logical TRUE or FALSE.

statusCol

character(1) name of column with general status (e.g. modified or not).

Details

calling this around the user passed on function ensures that newly inserted rows are being excempt from the logic. Moreover, the output of the function can be checked.

Value

boolean

Author(s)

Jasper Schelfhout


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