I saw a shiny
app, here which uses a resizable selectInput
but couldn't figure out how it's been developed. I wonder if anybody has any idea?
library(shiny)
css <- "select {resize: vertical; overflow: auto;}"
shinyApp(
ui = fluidPage(
tags$head(tags$style(HTML(css))),
selectInput(
"variable", "Variable:", names(mtcars), selectize = FALSE, size = 5L
)
),
server = function(input, output) {
}
)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.