popup

R Shiny: Click Button Within Datatable to Display Popup Twice in a row

狂风中的少年 提交于 2020-11-24 20:00:29
问题 Using RStudio 1.0.136 and R Shiny 0.14.2, I am trying to create a data table that has an action button on each row, and when a button is clicked a popup will appear. My code is currently working, except you cannot click the same button twice in a row. I have posted 2 versions of example code below: library(shiny) library(DT) library(shinyBS) shinyApp( ui <- fluidPage( DT::dataTableOutput("data"), uiOutput("modal") ), server <- function(input, output,session) { shinyInput <- function(FUN, len,

R Shiny: Click Button Within Datatable to Display Popup Twice in a row

时间秒杀一切 提交于 2020-11-24 19:58:19
问题 Using RStudio 1.0.136 and R Shiny 0.14.2, I am trying to create a data table that has an action button on each row, and when a button is clicked a popup will appear. My code is currently working, except you cannot click the same button twice in a row. I have posted 2 versions of example code below: library(shiny) library(DT) library(shinyBS) shinyApp( ui <- fluidPage( DT::dataTableOutput("data"), uiOutput("modal") ), server <- function(input, output,session) { shinyInput <- function(FUN, len,