@@ -1304,6 +1304,7 @@ eDTServer <- function(
13041304# ' @return `boolean`
13051305# '
13061306# ' @author Jasper Schelfhout
1307+ # ' @keywords internal
13071308evalCanDeleteRow <- function (
13081309 row ,
13091310 canDeleteRow = TRUE ,
@@ -1343,6 +1344,7 @@ evalCanDeleteRow <- function(
13431344# ' @return `boolean`
13441345# '
13451346# ' @author Jasper Schelfhout
1347+ # ' @keywords internal
13461348evalCanEditRow <- function (row , canEditRow = TRUE , statusCol = ' _editbl_status' ){
13471349
13481350 # Prevent evaluating logic and speed up for most common use-case
@@ -1380,6 +1382,7 @@ evalCanEditRow <- function(row, canEditRow = TRUE, statusCol='_editbl_status'){
13801382# ' @return `boolean`
13811383# '
13821384# ' @author Saar Junius
1385+ # ' @keywords internal
13831386evalCanCloneRow <- function (row , canCloneRow = TRUE , statusCol = ' _editbl_status' ){
13841387
13851388 # Prevent evaluating logic and speed up for most common use-case
@@ -1416,6 +1419,7 @@ evalCanCloneRow <- function(row, canCloneRow = TRUE, statusCol='_editbl_status')
14161419# ' @importFrom dplyr relocate all_of
14171420# ' @importFrom uuid UUIDgenerate
14181421# ' @author Jasper Schelfhout
1422+ # ' @keywords internal
14191423initData <- function (
14201424 data ,
14211425 ns ,
@@ -1461,6 +1465,7 @@ initData <- function(
14611465# ' @importFrom rlang :=
14621466# '
14631467# ' @author Jasper Schelfhout
1468+ # ' @keywords internal
14641469addButtons <- function (
14651470 df ,
14661471 columnName ,
@@ -1502,6 +1507,7 @@ addButtons <- function(
15021507# ' is faster.
15031508# ' @importFrom shiny div actionButton icon
15041509# ' @seealso createEditButtonHTML
1510+ # ' @keywords internal
15051511createDeleteButtonHTML_shiny <- function (
15061512 ns = " %1$s" ,
15071513 suffix = " %2$s" ,
@@ -1528,6 +1534,7 @@ createDeleteButtonHTML_shiny <- function(
15281534# ' is faster.
15291535# ' @seealso createEditButtonHTML
15301536# ' @importFrom shiny div actionButton icon
1537+ # ' @keywords internal
15311538createEditButtonHTML_shiny <- function (
15321539 ns = " %1$s" ,
15331540 suffix = " %2$s" ,
@@ -1553,6 +1560,7 @@ createEditButtonHTML_shiny <- function(
15531560# ' is faster.
15541561# ' @seealso createCloneButtonHTML
15551562# ' @importFrom shiny div actionButton icon
1563+ # ' @keywords internal
15561564createCloneButtonHTML_shiny <- function (
15571565 ns = " %1$s" ,
15581566 suffix = " %2$s" ,
@@ -1577,6 +1585,7 @@ createCloneButtonHTML_shiny <- function(
15771585# ' @param ns `character(1)` namespace
15781586# ' @param disabled `logical(1)` wether or not the button has to be disabled
15791587# ' @return `character(1)` HTML
1588+ # ' @keywords internal
15801589createEditButtonHTML <- function (
15811590 ns ,
15821591 suffix ,
@@ -1597,6 +1606,7 @@ createEditButtonHTML <- function(
15971606#' @param ns `character(1)` namespace
15981607#' @param disabled `logical(1)` wether or not the button has to be disabled
15991608#' @return `character(1)` HTML
1609+ #' @keywords internal
16001610createDeleteButtonHTML <- function(
16011611 ns = " %1 $ s " ,
16021612 suffix = " %2 $ s " ,
@@ -1616,6 +1626,7 @@ createDeleteButtonHTML <- function(
16161626#' @param ns `character(1)` namespace
16171627#' @param disabled `logical(1)` wether or not the button has to be disabled
16181628#' @return `character(1)` HTML
1629+ #' @keywords internal
16191630createCloneButtonHTML <- function(
16201631 ns = " %1 $ s " ,
16211632 suffix = " %2 $ s " ,
@@ -1641,6 +1652,7 @@ createCloneButtonHTML <- function(
16411652#' @param canDeleteRow can be either of the following:
16421653#' - `logical`, e.g. TRUE or FALSE
16431654#' - `function`. Needs as input an argument `row` which accepts a single row `tibble` and as output TRUE/FALSE.
1655+ #' @keywords internal
16441656canXXXRowTemplate <- function(canEditRow, canCloneRow, canDeleteRow){
16451657 NULL
16461658}
@@ -1654,6 +1666,7 @@ canXXXRowTemplate <- function(canEditRow, canCloneRow, canDeleteRow){
16541666#' if `NULL`, the data is interpreted as 'unmodified'.
16551667#' @inheritParams canXXXRowTemplate
16561668#' @return `character(1)` HTML
1669+ #' @keywords internal
16571670createButtons <- function(
16581671 row,
16591672 suffix,
@@ -1690,6 +1703,7 @@ createButtons <- function(
16901703#' @details <https://stackoverflow.com/questions/60406027/how-to-disable-double-click-reactivity-for-specific-columns-in-r-datatable>
16911704#' @details <https://stackoverflow.com/questions/75406546/apply-css-styling-to-a-single-dt-datatable>
16921705#' @return `character` CSS
1706+ #' @keywords internal
16931707disableDoubleClickButtonCss <- function(id){
16941708 sprintf("
16951709 # %1$s > .dataTables_wrapper > table tbody td:nth-child(1) {pointer-events: none;}
0 commit comments