evalCanEditRow: Determine if a row can be edited

View source: R/eDT.R

evalCanEditRowR Documentation

Determine if a row can be edited

Description

Determine if a row can be edited

Usage

evalCanEditRow(row, canEditRow = TRUE, statusCol = "status")

Arguments

row

tibble, single row.

canEditRow

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.