Learn R Programming

shinybones (version 0.2.4)

preview_datatable: Preview data in a datatable

Description

Preview data in a datatable

Usage

preview_datatable(data, fun = DT::datatable, ui = NULL, ...)

Arguments

data

A data frame object.

fun

A function that transforms the data into a datatable. It defaults to datatable.

ui

A shiny.tag object to include in the UI function.

...

Additional parameters to pass to fun.

See Also

Other preview: preview_component, preview_module

Examples

Run this code
# NOT RUN {
 preview_datatable(mtcars,
   style = 'bootstrap',
   width = '100%',
   extension = 'Responsive'
 )
# }

Run the code above in your browser using DataLab