semantic_DT: Create Semantic DT Table

Description Usage Arguments Examples

View source: R/tables.R

Description

This creates DT table styled with Semantic UI.

Usage

1

Arguments

...

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

options

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

Examples

 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)
}

shiny.semantic documentation built on Nov. 7, 2021, 5:07 p.m.