Description Usage Arguments Examples
This creates DT table styled with Semantic UI.
1 | semantic_DT(..., options = list())
|
... |
datatable parameters, check |
options |
datatable options, check |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | if (interactive()){
library(shiny)
library(shiny.semantic)
ui <- semanticPage(
semantic_DTOutput("table")
)
server <- function(input, output, session) {
output$table <- DT::renderDataTable(
semantic_DT(iris)
)
}
shinyApp(ui, server)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.