dataTablePreviewWidget: A data table preview widget

Description Usage Arguments Value Examples

View source: R/data_table_preview.R

Description

A data table preview widget

Usage

1
dataTablePreviewWidget(id, enableOptionToShowAllRows = TRUE)

Arguments

id

The same ID as used in the matching call to previewDataTable

enableOptionToShowAllRows

Whether or not to show a checkbox that toggles all rows all only the first few rows

Value

The widget

Examples

1
2
3
4
5
# In Shiny UI logic, add this widget
dataTablePreviewWidget("previewTable")
# Then in your Shiny server logic, add following statements
dataTable <- reactive({ # generate your data frame here })
previewDataTable("previewTable", dataTable)

keqiang/shinywidgets documentation built on March 3, 2020, 11:56 p.m.