f7Table | R Documentation |
Creates a table container.
f7Table(data, colnames = NULL, card = FALSE)
data |
A data.frame. |
colnames |
Column names to use, if |
card |
Whether to use as card. |
library(shiny)
library(shinyMobile)
app <- shinyApp(
ui = f7Page(
title = "My app",
f7SingleLayout(
navbar = f7Navbar(
title = "f7Table"
),
uiOutput("table")
)
),
server = function(input, output) {
output$table <- renderUI({
f7Table(mtcars)
})
}
)
if (interactive() || identical(Sys.getenv("TESTTHAT"), "true")) app
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.