library(shiny)
shinyUI(fluidPage(
title = 'Use the DT package in shiny',
h1('A Table Using Client-side Processing'),
fluidRow(
column(2),
column(8, DT::dataTableOutput('tbl_a')),
column(2)
),
h1('A Table Using Server-side Processing'),
fluidRow(
column(2),
column(8, DT::dataTableOutput('tbl_b')),
column(2)
)
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.