Description Usage Arguments See Also Examples
Preview data in a datatable
1 | preview_datatable(data, fun = DT::datatable, ui = NULL, ...)
|
data |
A data frame object. |
fun |
A function that transforms the data into a datatable. It defaults
to |
ui |
A |
... |
Additional parameters to pass to |
Other preview: preview_component
,
preview_module
1 2 3 4 5 6 7 8 | ## Not run:
preview_datatable(mtcars,
style = 'bootstrap',
width = '100%',
extension = 'Responsive'
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.