I have a simple Shiny App that uses selectInput:
Code:
library(shiny)
ui <- fluidPage(
selectInput("select", label = h3("Select box"),
choices = list("Choice 1" = 1, "Choice 2" = 2, "Choice 3" = 3),
selected = 1),
)
server <- function(input, output, session) {
output$value <- renderPrint({ input$select })
}
shinyApp(ui, server)
I want to evolve it to create a Selection grid that should like like this:
So the idea is to create a Multiple choice grid that will show "n" rows depending on how many cars I have in a list, so if the list is 5 elements long then I'll get 5 lines.
Is this possible with Shiny Widgets or should I try something else?
Thx!
question from:
https://stackoverflow.com/questions/65949251/r-shiny-dynamic-generated-multiple-selection-grid 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…