dataTableOutput: Create a table output element

Description Usage Arguments Value Examples

View source: R/output-datatable.R

Description

Render a renderDataTable within an application page. renderDataTable uses the DataTables Javascript library to create an interactive table with more features.

Usage

1
dataTableOutput(outputId)

Arguments

outputId

output variable to read the table from

Value

A table output element that can be included in a panel

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Only run this example in interactive R sessions
if (interactive()) {
  library(shiny)
  shinyApp(
    ui = bootstrapPage(
      dataTableOutput('table')
    ),
    server = function(input, output) {
      output$table <- renderDataTable(iris)
    }
  )
}

shinybootstrap2 documentation built on May 20, 2017, 6 a.m.

Search within the shinybootstrap2 package
Search all R packages, documentation and source code