This generates an rhandson table for selecting items to include in downstream operations.
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 )
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 |
Other selector table module functions:
selector_table_buttons_ui()
,
selector_table_ui()