Learn R Programming

shiny.semantic (version 0.4.3)

semantic_DT: Create Semantic DT Table

Description

This creates DT table styled with Semantic UI.

Usage

semantic_DT(..., options = list())

Arguments

...

datatable parameters, check ?DT::datatable to learn more.

options

datatable options, check ?DT::datatable to learn more.

Examples

Run this code
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)
}

Run the code above in your browser using DataLab