shinywidgets

How to put shiny radioGroupButtons into columns

三世轮回 提交于 2021-01-28 07:12:50
问题 I'd like to align some radioGroupButtons() from shinyWidgets into 5 equally spaced columns. I'd also like the buttons to all have the same width. The column widths work a little better if I use direction = "vertical" but the columns end up even further away from each other. Here's what it looks like as-is. Maybe the answer is hidden here but I couldn't figure it out. library(shiny) library(shinyWidgets) my_css <- ".btn-group, .btn-group-vertical { column-count: 5; }" ui <- fluidPage( tags

R Shiny - Updating the value of a selectInput and progressBar simultaneously

流过昼夜 提交于 2020-01-24 20:35:28
问题 The app below contains an actionButton , a shinyWidgets::progressBar and a selectInput : When the Start button is clicked, an observeEvent is triggered in which I loop through the numbers 1-10 and increment the progress bar at each iteration. I would also like to update the value of the selectInput at each iteration but updateSelectInput does not work as expected. Instead of updating in tandem with the progress bar, the selectInput value is only updated once the loop has terminated. I don't

in R, how to create multilevel radioGroupButtons, as each level depends choiceNames depend on the previous level input?

一曲冷凌霜 提交于 2019-12-28 07:06:06
问题 I am trying to create shinyapp in which the first radioGroupButtons will automatically update the second level of radioGroupButtons and then the 3rd level, eventually each level will filter the datatable used code library(shiny) library(reshape2) library(dplyr) library(shinyWidgets) hotdrinks<-list("tea","green tea") juices<-list("orange","mango") energydrinks<-list("powerhorse","redbull") drinks<-list("hotdrinks"=hotdrinks,"juices"=juices,"energydrinks"=energydrinks) biscuits<-list("loacker"

How do I change the size of calendar icon in airDatepicker from shinyWidget?

…衆ロ難τιáo~ 提交于 2019-12-24 19:38:19
问题 I use airDatepicker from shinyWidget on my dashboard: Here I have succesfully change the size of the input container as shown in the picture, but not the container of calendar icon (the box where shinywidget place the calendar icon). What I wanted to change is the box encircled in yellow, not the icon itself which I mark with red border. Currently my code looks like this: tags$head( tags$style( HTML(" #choosedate {font-size: 13px; height: 25px;} #datepickers-container > div > nav {font-size: