inst/examples/minimal/app.R

library(shiny)
library(crudtable)

# Data Access Object from the CO2 data frame
dao <- dataFrameDao(CO2)

# User Interface
ui <- fluidPage(
    crudTableUI('crud')
)

# Server-side
server <- function(input, output, session) {
    crudTableServer('crud', dao)
}

# Run the shiny app
shinyApp(ui = ui, server = server)
beerda/crudtable documentation built on July 13, 2020, 2:16 p.m.