powered by
Preview data in a datatable
preview_datatable(data, fun = DT::datatable, ui = NULL, ...)
A data frame object.
A function that transforms the data into a datatable. It defaults to datatable.
datatable
A shiny.tag object to include in the UI function.
shiny.tag
Additional parameters to pass to fun.
fun
Other preview: preview_component, preview_module
preview_component
preview_module
# NOT RUN { preview_datatable(mtcars, style = 'bootstrap', width = '100%', extension = 'Responsive' ) # }
Run the code above in your browser using DataLab