renderRowFunctions: renderRow...-Functions

renderRowFunctionsR Documentation

renderRow...-Functions

Description

These functions render an interactive row of the preview table used to import CSV files in the module.

Usage

renderRowTextInput(ColNames, Label = NULL, Values = NULL, Enabled = TRUE)

renderRowCheckBox(ColNames, Label = NULL, Values = NULL, Enabled = TRUE)

renderRowSelect(
  ColNames,
  Label = NULL,
  Values = NULL,
  Choices = NULL,
  Enabled = TRUE
)

Arguments

ColNames

The names of the columns are required to generate input-ids for the widgets.

Label

An optional label for the input widget in each column. Not supported for all interactive row types.

Values

Optional values to be set.

Enabled

Is the row interactive or does it only show the current state (not vectorised).

Choices

List of values to select from. If elements of the list are named, then that name — rather than the value — is displayed to the user (@seealso shiny::selectInput).

Details

renderRowCheckBox creates a tag list of a table row with a check box in each cell.

renderRowCheckBox creates a tag list of a table row with a check box in each cell.

renderRowSelect creates a tag list of a table row with a select widget in each cell.

Value

A list() with a shiny.tag class that can be converted into an HTML string via as.character() and saved to a file with save_html().

Note

The package does NOT export these functions.

See Also

About Shiny HTML tag lists refer to htmltools::builder.


SigurdJanson/shinyCSVImpoMod documentation built on Jan. 5, 2023, 3:57 a.m.