Questions tagged [action-button]

The action bar allows you to add buttons for the most important action items relating to the app's current context.

Buttons that appear directly in the action bar with an icon and/or text are known as Action Buttons. Actions that can't fit in the action bar or aren't important enough are hidden in the action overflow.

163 questions
0
votes
1 answer

How to add an action button to a custom XIB cell?

I want to create a custom XIB Table View Cell with an action button that can segue to a new view controller. So far, I created a custom XIB Cell (TaskListCell) with a button (timeButton), and registered the TaskListCell to TaskListViewController.…
0
votes
2 answers

Aligning Multiple Action Buttons in Shiny Dashboard Header

This SO post describes how to add an actionButton to the top right of the dashboardHeader in a shinydashboard. I would like to add two action buttons next to each other in the dashboardHeader. How can I place the buttons within the header bar so…
Miguel
  • 416
  • 3
  • 16
0
votes
1 answer

Shiny error with textAreaInput - "text must be character"

I am trying to write a small shiny app. Part of the app is summarizing text that the user pastes into a box then press an action button. I copied the text example from an online blog and it works outside of shiny I used the action button code from…
Bahi8482
  • 489
  • 5
  • 15
0
votes
1 answer

R shiny - perform seperate operations on loaded data with action buttons

I'm new at R shiny and I'm trying to develop an app which uploads files and combines the data. This is my code so far: library(shiny) library(DT) library(leaflet) library(tidyverse) library(reshape2) ui <- fluidPage( fileInput('SNP_raw_data',…
Luke
  • 1
  • 1
0
votes
1 answer

Link to a tab from dashboardBody

I am trying to have an action button within the Body of a tab (called "Widgets" in code) link to a different tab (called "data_table" in code). I know how to do this if the tab that I want to connect to, "data_table", is one of the menuItems that…
0
votes
1 answer

Based on selected radio button option, How to display the chart and the data after hitting the submit button in shiny R?

I developed a dashboard to show the dummy example of the problem that I am running. The shiny dashboard has four boxes. Top two boxes display a plotly chart and forecasted data using non-seasonal arima model. The bottom two boxes demonstrate a…
Cricketer
  • 399
  • 1
  • 3
  • 20
0
votes
0 answers

Isolate() is not working when used inside an if statement in a shiny app

I have the shiny app below in which I have 3 file inputs and 2 actionbuttons. The 1st submit button 'submit' is used to trigger the tree plot and the 2nd 'reset' to reset every file input. When the 1st actionbutton is empty I get a warning…
firmo23
  • 7,490
  • 2
  • 38
  • 114
0
votes
1 answer

File input validation does not work when the file input is reset by an actionButton

I have a simple shiny app in which I need to upload a csv and then I should be able to reset it by clicking the action button. If there is no file an error message should be displayed. The issue is that this error message is not displayed after…
firmo23
  • 7,490
  • 2
  • 38
  • 114
0
votes
1 answer

How to apply the actionButton to update my ggplot in Shiny in R?

This is my reproducible example : #http://gekkoquant.com/2012/05/26/neural-networks-with-r-simple-example/ library("neuralnet") require(ggplot2) setwd(dirname(rstudioapi::getSourceEditorContext()$path)) #Going to create a neural network to perform…
Gambit
  • 77
  • 1
  • 11
0
votes
1 answer

Problem with server.R : not able to use observeEvent in actionButton properly

I am relatively new to shiny app and is trying to make a simple app : while i am able to run ui.R correctly, i am having problem with server.R......what i want is to take a value of slider bar "post" (this number will be used as arg. of function…
Pri
  • 21
  • 7
0
votes
1 answer

How to apply the actionButton to update my Shiny in R?

This is my reproducible example : #http://gekkoquant.com/2012/05/26/neural-networks-with-r-simple-example/ library("neuralnet") require(ggplot2) setwd(dirname(rstudioapi::getSourceEditorContext()$path)) #Going to create a neural network to perform…
Gambit
  • 77
  • 1
  • 11
0
votes
1 answer

How to apply the actionButton "Upate View" in Shiny in R?

This is my original code : library(shiny) library("neuralnet") require(ggplot2) load("C:/gambit/NeuralNetwork.Rdata") ui <- fluidPage( fluidRow( column(width = 12, class = "well", h4("Neural Network Plot"), …
Gambit
  • 77
  • 1
  • 11
0
votes
0 answers

Only execute input-values -> renderPlot() -> plotOutput() if actionButton is clicked

I am trying to learn the basics of Shiny by building a very simple application. Question: how can I apply an actionButton() that passes input-values to output$plot <- renderPlot() only when clicked? My app is simple. It only contains four…
cmirian
  • 2,572
  • 3
  • 19
  • 59
0
votes
1 answer

NotificationCompat.Action shows only one action button FCM Push Notification

I am implementing Firebase push notification. It has 2 action buttons Accept and Decline, And it is an array coming from data payload. When push triggers, It is displaying only Decline button. Not showing both the buttons. Below is my code …
0
votes
1 answer

Adding custom ActionButtons to popups in leaflet map within shiny app

I'm trying to build an app in R shiny where users can learn details about points on a map. When users click on a point, a popup shows some initial details and then an ActionButton (or ActionLink). When the user clicks on that ActionButton,…
user3786999
  • 1,037
  • 3
  • 13
  • 24