Questions tagged [shinybs]

ShinyBS is Twitter Bootstrap Components for Shiny.

It allows the developer to add Twitter Bootstrap functionality and interactivity to Shiny applications.

109 questions
1
vote
2 answers

Change width of one bsPopover in Shiny

I've just started using R-Shiny. But I have some of troubles using js and html code in Shiny. In my app I have two bsButton which when hover show some text with bsPopover. One of these popover contains an image which is larger than the standard box…
RFelber
  • 164
  • 1
  • 12
1
vote
2 answers

How to remove the footer on a bsmodal

I've been looking around, and the documentation I found says they added a footer and button.close argument to the bsmodal function, but it doesn't seem to work. Does anybody know how to remove (or even just alter) the close button, and/or remove the…
Mark
  • 2,789
  • 1
  • 26
  • 66
1
vote
2 answers

add shinyBS popover on disabled button

I haven't found any information in documentation of shinyBS and on the google/SO about how to use trigger = 'manual' on, for example, addPopover of shinyBS. I thought this would be the way to add a tooltip to a disabled button. (I dont want to do it…
vladli
  • 1,454
  • 2
  • 16
  • 40
1
vote
2 answers

shinyBS observe toggling of bsCollapsePanel

my question relates to observing the event of toggling and untoggling of the header in bsCollapsePanel in shinyBS. Lets consider following following app as an example: library(shiny) library(shinyBS) server = function(input, output, session) { …
user974514
  • 552
  • 1
  • 7
  • 19
1
vote
1 answer

R Shiny observeEvent issues

I am trying to delete the rows from a dataframe when they have been selected in the datatable and someone presses the "Delete Rows" switch. input$click_rows_selected gives the id's of the selected rows. There seems to be something wrong with my use…
DS501
  • 113
  • 1
  • 10
1
vote
1 answer

Bootstrap Modal Multiple Conditions R Shiny

I need to only display a BS modal when a button is pressed and and a condition on a variable is met. This is a simple app that demonstrates what the challenge is. I need to display a BS modal when num_rows >= 500, and the submit button is fired, not…
tsouchlarakis
  • 1,499
  • 3
  • 23
  • 44
1
vote
1 answer

R Shiny BSModal Popup to Show Selected Input

I would like to create a popup that displays the current dropdown choice. My code seems to work for the first click, but when clicked a second time, the first modal appears, and I am unable to close the popup. Example code is pasted below, and any…
Jamie
  • 110
  • 2
  • 8
1
vote
1 answer

shiny bsModal close button

I have a actionButton called Ok. When user clicks this button, it will take the input from a textInput box and show a bsModal message dialog window with some message. This is the code: library(shiny) library(shinydashboard) ui <- dashboardPage( …
Jill Sellum
  • 319
  • 2
  • 4
  • 14
1
vote
1 answer

R shinyBS popup window

I working on a project where I have to create a form in shiny. I currently have a datatable in the UI which has email in the form of hyperlink. Once the hyperlink is clicked the modal window opens where I have another UI which shows the various…
1
vote
1 answer

R Shiny: Use navbarPage with bsModal by shinyBS

I'm trying to add a tabPanel in navbarPage so that when you click on it opens a modal window instead of a new tab. The snippet below is not valid because tabPanel does not have an id parameter. library(shiny) library(shinyBS) shinyUI(fluidPage( …
billiout
  • 695
  • 1
  • 8
  • 22
1
vote
1 answer

reactive tooltipBS in shiny using ShinyBS

I try to use shinyBS package into my simple app. What I want to do is to create reactive tooltip text depends on each radioButton. In order to clarify my problem I wrote a simple code in HTML & JS. I also found one solution which seemed to solve my…
Nicolabo
  • 1,337
  • 12
  • 30
1
vote
1 answer

Capture label of actionButton in Shiny app

What's the best way to get the label of an actionButton that is clicked? I have an actionButton that has the label updated. When the user clicks, I need to capture that. I tried input$action2.label and input$action2.text, but neither…
PeterV
  • 195
  • 1
  • 13
0
votes
1 answer

Why is the shinyBS tooltip not showing up while using bslib?

The shinyBS tooltips stop working when I start using bslib functions. How can I fix that? Examples below: This code from shinyBS works perfectly: library(shiny) library(shinyBS) shinyApp( ui = fluidPage( sidebarLayout( sidebarPanel( …
0
votes
1 answer

How can I align inputs in splitLayout?

I would like to align so that the button is align with the text box and not the header of the text. How can I can do? Additionally, also that the textbox + botton fills up the whole gray space Example library(shiny) library(shinyBS) ui =…
MLEN
  • 2,162
  • 2
  • 20
  • 36
0
votes
1 answer

Shiny: selectizeInput tooltip hover for each choice

I want the user to see a different tooltip when hovering over grouped choices in selectizeInput. This was solved here for a flat vector of choices. i.e. choices = c("a", "b", "c", "d"). The difference is I would like this to work for a nested list…