shinyjs

Shinyjs is not working properly due to shiny reactivity

拟墨画扇 提交于 2020-12-15 08:34:21
问题 I have the shiny app below in which the user uploads a file (here I just put the dt in a reactive function) and from there he can choose which columns he wants to display as selectInput() via a pickerInput() . Then he should be able to click on Update2 and see the map. The user should also be able to update the depth and stations values by multiplying all of them with the numericInput() value1 and value2 respectively and create a new sliderInput() and therefore update the dataframe that is

Shiny: How to detect which accordion elements is selected?

牧云@^-^@ 提交于 2020-08-20 10:37:33
问题 I have an R Shiny where server.R outputs a large number of dynamically generated UI objects. Rather than process hundreds of objects in input to process, I thought I could use bs_accordion() from the bsplus package. I expected bs_accordion() to report the state of the elements it controls back to server.R via the input object. My plan had been to dynamically generate the UI elements for just the currently selected item using renderUI() . Unfortunately as far as I can tell, nothing in the

Shiny: How to detect which accordion elements is selected?

人盡茶涼 提交于 2020-08-20 10:36:35
问题 I have an R Shiny where server.R outputs a large number of dynamically generated UI objects. Rather than process hundreds of objects in input to process, I thought I could use bs_accordion() from the bsplus package. I expected bs_accordion() to report the state of the elements it controls back to server.R via the input object. My plan had been to dynamically generate the UI elements for just the currently selected item using renderUI() . Unfortunately as far as I can tell, nothing in the

How to create a highcharter event function to create a “dropdown function” in Shiny R

让人想犯罪 __ 提交于 2020-06-26 07:58:37
问题 I'm building a shiny app and one of the things I want to accomplish is to create a dropdown menu. I want to plot the labour variable as a function of the year variable for the different levels. See below for a sample dataframe: year level_2 level_3 labour 1 2013 10 101 1 2 2014 10 101 5 3 2015 10 101 10 4 2016 10 101 20 5 2017 10 101 25 6 2013 11 111 5 7 2014 11 111 10 8 2015 11 111 20 9 2016 11 111 25 10 2017 11 111 30 11 2013 10 102 2 12 2014 10 102 6 13 2015 10 102 11 14 2016 10 102 21 15

How to create a highcharter event function to create a “dropdown function” in Shiny R

╄→гoц情女王★ 提交于 2020-06-26 07:57:09
问题 I'm building a shiny app and one of the things I want to accomplish is to create a dropdown menu. I want to plot the labour variable as a function of the year variable for the different levels. See below for a sample dataframe: year level_2 level_3 labour 1 2013 10 101 1 2 2014 10 101 5 3 2015 10 101 10 4 2016 10 101 20 5 2017 10 101 25 6 2013 11 111 5 7 2014 11 111 10 8 2015 11 111 20 9 2016 11 111 25 10 2017 11 111 30 11 2013 10 102 2 12 2014 10 102 6 13 2015 10 102 11 14 2016 10 102 21 15