semantic_DT {shiny.semantic} | R Documentation |
Create Semantic DT Table
Description
This creates DT table styled with Semantic UI.
Usage
semantic_DT(
...,
options = list(),
style = "semanticui",
class = "ui small compact table"
)
Arguments
... |
datatable parameters, check |
options |
datatable options, check |
style |
datatable style, check |
class |
datatable class, check |
Examples
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)
}
[Package shiny.semantic version 0.5.1 Index]