simpletable: The server function of the simpletable module

View source: R/simpletable.R

simpletableR Documentation

The server function of the simpletable module

Description

This function is not called directly, but rather via callModule() (see example).

Usage

simpletable(
  input,
  output,
  session,
  downloadMatrix = NULL,
  displayMatrix,
  pageLength = 15,
  filename,
  rownames = FALSE,
  show_controls = TRUE,
  filter = "none"
)

Arguments

input

Input object

output

Output object

session

Session object

downloadMatrix

Reactive expression for retrieving the plot to supply for download (default: NULL, in which case displayMatrix() will be used)

displayMatrix

Reactive expression for retrieving the plot for display

pageLength

Number of items per page

filename

A string to use in the name of the table download

rownames

Passed to renderDataTable. Display the row names of the input matrix? (default: FALSE)

show_controls

Show search box, controls etc on resulting data table? (default: TRUE)

filter

Passed to DT::renderDataTable()

Examples

callModule(simpletable, "simpletable", my_data_frame)


pinin4fjords/shinyngs documentation built on May 5, 2024, 7:17 a.m.