Creating a list of custom column definitions for use in reactables

createCustomColDefList(
  rawColNames,
  niceColNames = NULL,
  tooltipText = NULL,
  case = NULL,
  customColDefOptions = NULL
)

Arguments

rawColNames

The raw column names taken directly from the source data table that are to be overwritten in the reactable

niceColNames

The formatted column names that will appear as-specified in the reactable

tooltipText

The text to be displayed in a toolTip when hovering over the column in the reactable

case

Optional argument to convert raw column names to snake or camel case. Defaults to NULL and preserves whatever raw column names are passed in

customColDefOptions

A list of lists, where the inner lists are any custom options from reactable::colDef for each column

Value

A named list of reactable::colDef objects