shinydashboard

PickerInput label issue when inline is TRUE

試著忘記壹切 提交于 2021-02-08 06:10:19
问题 I have a r shiny app in which users have numerous choices they need to pick prior to plotting. In the pickerInput, the label text goes behind the choices. The code below library(shiny) library(shinydashboard) library(shinyWidgets) library(shinyjs) library(magrittr) library(dplyr) ui <- dashboardPage( dashboardHeader(title = "PickerInput Query", titleWidth=450), dashboardSidebar( width = 300, useShinyjs(), sidebarMenu(id = "tabs") ), dashboardBody( uiOutput('groupvar'), uiOutput('shapetype') )

PickerInput label issue when inline is TRUE

Deadly 提交于 2021-02-08 06:06:44
问题 I have a r shiny app in which users have numerous choices they need to pick prior to plotting. In the pickerInput, the label text goes behind the choices. The code below library(shiny) library(shinydashboard) library(shinyWidgets) library(shinyjs) library(magrittr) library(dplyr) ui <- dashboardPage( dashboardHeader(title = "PickerInput Query", titleWidth=450), dashboardSidebar( width = 300, useShinyjs(), sidebarMenu(id = "tabs") ), dashboardBody( uiOutput('groupvar'), uiOutput('shapetype') )

PickerInput label issue when inline is TRUE

折月煮酒 提交于 2021-02-08 06:06:22
问题 I have a r shiny app in which users have numerous choices they need to pick prior to plotting. In the pickerInput, the label text goes behind the choices. The code below library(shiny) library(shinydashboard) library(shinyWidgets) library(shinyjs) library(magrittr) library(dplyr) ui <- dashboardPage( dashboardHeader(title = "PickerInput Query", titleWidth=450), dashboardSidebar( width = 300, useShinyjs(), sidebarMenu(id = "tabs") ), dashboardBody( uiOutput('groupvar'), uiOutput('shapetype') )

Get the user's current date and time in R/Shiny

白昼怎懂夜的黑 提交于 2021-02-07 12:58:23
问题 I am building a shiny app and hosting it on the server. There are date and time inputs. The default value is Sys.Date(). Now when the user accesses it, the default value is taken as server date and time rather than the users. Please tell me how can I get the user's current time and date and use them as default values into my input box. Current input scenario: dateInput("dateto", "Date To:", format = "mm/dd/yyyy", value = Sys.time()), textInput("dateto_hour", "HH:MM", value = gsub("(.*):.*","\

Shiny datatable filter box

孤街醉人 提交于 2021-02-07 10:25:20
问题 I have created a table which looks as per screenshot. How could I add an excel like filter button where I could select multiple specific items of the list? And code is the following: DT::datatable(current_list, rownames = FALSE, filter = 'top', options = list(pageLength = 50,lengthChange = FALSE,autoWidth = FALSE,escape=FALSE, searching = TRUE, columnDefs = list(list(className = 'dt-center', targets = 0:1), list(width = '30px', targets = 0:0), list(width = '270px', targets = 1:1) ) ) ) 回答1:

Shiny datatable filter box

▼魔方 西西 提交于 2021-02-07 10:24:09
问题 I have created a table which looks as per screenshot. How could I add an excel like filter button where I could select multiple specific items of the list? And code is the following: DT::datatable(current_list, rownames = FALSE, filter = 'top', options = list(pageLength = 50,lengthChange = FALSE,autoWidth = FALSE,escape=FALSE, searching = TRUE, columnDefs = list(list(className = 'dt-center', targets = 0:1), list(width = '30px', targets = 0:0), list(width = '270px', targets = 1:1) ) ) ) 回答1:

Dynamic repeating conditionalPanel in R shiny dashboard

寵の児 提交于 2021-02-07 10:01:59
问题 I am trying to create a dynamic conditional panel. So my conditions are as follows: Input in UI: selectInput('inpt','Input Number', seq(1,50,1), selectize = FALSE) My conditional panel UI input is: conditionalPanel( "input.inpt == 2", box( selectInput("id1", "Select number", seq(1, 24, 1), selected = 1), selectInput("id2", "Select number", seq(1, 24, 1), selected = 1), width = 2, status = "primary" ) ), conditionalPanel( "input.inpt == 3", box( selectInput("id1", "Select number", seq(1, 24, 1

Dynamic repeating conditionalPanel in R shiny dashboard

时光总嘲笑我的痴心妄想 提交于 2021-02-07 10:01:02
问题 I am trying to create a dynamic conditional panel. So my conditions are as follows: Input in UI: selectInput('inpt','Input Number', seq(1,50,1), selectize = FALSE) My conditional panel UI input is: conditionalPanel( "input.inpt == 2", box( selectInput("id1", "Select number", seq(1, 24, 1), selected = 1), selectInput("id2", "Select number", seq(1, 24, 1), selected = 1), width = 2, status = "primary" ) ), conditionalPanel( "input.inpt == 3", box( selectInput("id1", "Select number", seq(1, 24, 1

How to change the background color of the Shiny Dashboard Body

£可爱£侵袭症+ 提交于 2021-02-05 20:31:37
问题 I cannot get the scope to change the background color of the shiny dashboard's body. I do not want to use outside CSS because it is not supported in the Shiny server which I'm hosting. Whatever I do I'm unable to find the HTML tag for the dashboard's background so I could change it. The background color is always #ECF0F5 whatever I do. Here is a reproducible application. library(shinydashboard) library(shiny) library(DT) library(shinyWidgets) library(dplyr) ui=shinyUI( dashboardPage(

How to change the background color of the Shiny Dashboard Body

不打扰是莪最后的温柔 提交于 2021-02-05 20:31:05
问题 I cannot get the scope to change the background color of the shiny dashboard's body. I do not want to use outside CSS because it is not supported in the Shiny server which I'm hosting. Whatever I do I'm unable to find the HTML tag for the dashboard's background so I could change it. The background color is always #ECF0F5 whatever I do. Here is a reproducible application. library(shinydashboard) library(shiny) library(DT) library(shinyWidgets) library(dplyr) ui=shinyUI( dashboardPage(