selector_table_server: Selector table server

Description Usage Arguments See Also

View source: R/module_selector_table.R View source: R/deprecate/module_selector_table.R

Description

This generates an rhandson table for selecting items to include in downstream operations.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
selector_table_server(
  input,
  output,
  session,
  settings,
  id_column,
  row_column = id_column,
  column_select = NULL,
  page_lengths = list(c(5, 10, 20, -1), c("5", "10", "20", "All")),
  initial_page_length = page_lengths[[1]][1],
  dom = "fltip",
  selector_buttons = TRUE
)

Arguments

id_column

name of the ID column - make a rownumber or concatenated column if there is no unique identificer column otherwise

row_column

which column to use as the "row number", by default same as the id_column

column_select

dplyr select statement to choose displayed columns and headers, if not provided (=NULL), will display data table exactly as is (minus the id column which becomes the row number)

page_lengths

page length options, first one will be selected

initial_page_length

initially selected page length, first entry of the page_lengths by default

dom

the available table control elements and their order

selector_buttons

whether the selector buttons are present

See Also

Other selector table module functions: selector_table_buttons_ui(), selector_table_ui()


KopfLab/isoviewer documentation built on July 16, 2021, 1:21 a.m.