Questions tagged [shinyjs]

shinyjs is an R package that lets you perform common useful JavaScript operations in Shiny applications without having to know any JavaScript. This is turn allows you to easily improve the user interaction and user experience in your Shiny apps. It can also be used to easily run your own custom JavaScript functions from R.

shinyjs lets you perform common useful JavaScript operations in Shiny apps that will greatly improve your apps without having to know any JavaScript.

Examples include: hiding an element, disabling an input, resetting an input back to its original value, delaying code execution by a few seconds, and many more useful functions for both the end user and the developer. shinyjs can also be used to easily call your own custom JavaScript functions from R.

Useful resources:

637 questions
-1
votes
1 answer

Actionbutton shown only when Selectinput changes

Is there a way to show the actionbutton in shiny only when Selectinput changes? For example assume I have selected choice A from selectinput. At this point the actionbutton will be disabled, but as soon as I add choice B in addition to A(and vice…
Jack
  • 126
  • 1
  • 2
  • 9
-1
votes
1 answer

Stop dropdownButton (shinywidgets) from opening dialog in R shiny

I'm looking to stop a dropdownbutton (shinywidgets) from opening when the button is clicked based on a condition. This to avoid renderUI errors on missing input for content on the dropdownButton modal panel. When a user clicks on a dropdownButton,…
Mark
  • 2,789
  • 1
  • 26
  • 66
-1
votes
1 answer

Changing the background color of rows in a datatable using rownames

I have a datatable which i want to customise based on the row names and the values present in the rows. Customizing the color of the datables is generally done by the column names, but not the row names. Below is my dataframe. df <-…
-1
votes
1 answer

shiny: how to add a reactive bar in shiny app

I am building a crowd funding shiny app that tracks how much donation has been given. Is there such a function that creates a reactive bar in shiny? If not, is it possible to do this in html,css,javascript? I would like to create something like…
Oleole
  • 381
  • 4
  • 21
-1
votes
1 answer

control order of updates in shiny

Here is an MWE: library(shiny) runApp(shinyApp( ui = pageWithSidebar( fluidRow( column(3, wellPanel( numericInput("numFields", "Select number of fields", 2, min = 1), br(), uiOutput("fields"), br(), …
AnjaM
  • 2,941
  • 8
  • 39
  • 62
-2
votes
1 answer

Create a grid with checkboxes in R shiny

I am trying to create a grid which has its rows and column names as variables in a particular data set so that I can map individual rows for regression in r on backend (where row names will be dependent variable and column names will be independent…
-5
votes
1 answer

Can you make money with your shiny app by using some R packages?

I wonder if i can make a shiny app using some of these popular R packages such as : dtplyr, plyr, ggvis, gdata, ggplot2, etc and then selling this app online.
1 2 3
42
43