Description Usage Arguments Value See Also Examples
View source: R/addEditModules.R
This function and addEdit
are used in conjunction to add the
UI and server elements necessary to add a row to a given table in a database
1 | addEditUI(id)
|
id |
character name for the namespace of the module |
A shiny actionButton
which opens a modal to
allow user to input data to be added to a database
1 2 3 4 5 6 7 8 9 10 11 12 | if (interactive()) {
library(shiny)
ui <- fluidPage(
addEditUI("data")
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.