Result Table Server
resultTableServer.Rd
Result Table Server
Usage
resultTableServer(
id,
df,
colDefsInput,
details = data.frame(),
selectedCols = NULL,
sortedCols = NULL,
elementId = NULL,
addActions = NULL,
downloadedFileName = NULL,
groupBy = NULL
)
Arguments
- id
string, table id must match resultsTableViewer function
- df
reactive that returns a data frame
- colDefsInput
named list of reactable::colDefs
- details
The details of the results such as cohort names and database names
- selectedCols
string vector of columns the reactable should display to start by default. Defaults to ALL if not specified.
- sortedCols
string vector of columns the reactable should sort by by default. Defaults to no sort if not specified.
- elementId
optional string vector of element Id name for custom dropdown filtering if present in the customColDef list. Defaults to NULL.
- addActions
add a button row selector column to the table to a column called 'actions'. actions must be a column in df
- downloadedFileName
string, desired name of downloaded data file. can use the name from the module that is being used
- groupBy
The columns to group by