
Review forms table - Shiny module Server
Source:R/mod_review_form_tbl.R
mod_review_form_tbl_server.Rd
Shiny module. Used to handle the logic and presentation of form review data.
Usage
mod_review_form_tbl_server(
id,
form,
form_data,
form_review_data,
form_items,
active_subject,
show_all,
table_names = NULL,
title = NULL
)
Arguments
- id
Character string, used to connect the module UI with the module Server.
- form
A character string with the name of the form to display.
- form_data
Common reactive value. Used to manage the server data displayed in the DataTable.
- form_review_data
Common reactive value containing the review data of the form.
- form_items
Named character vector with all form_items to display.
- active_subject
Reactive value containing the active subject id.
- show_all
Common reactive value, a logical indicating whether all records should be displayed.
- table_names
An optional character vector. If provided, will be used within
datatable_custom()
, to improve the column names in the final interactive tables.- title
An optional character vector. If provided, will be used within
datatable_custom()
, as the title for the table.