Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Dependent List Creation using Shiny

$
0
0

@Surya1987 wrote:

Hi,

I have created two drop downs using following code. Here as you can see that in6 list depends on the in5 list. I have created a submit button to ensure that Until user clicks it the whole dashboard should not be processed. However Dependent lists should work with out clicking on Submit button. Currently If I click submit button then only second list is getting filled. Kindly help me in resolving the issue.

server.r

shinyServer(function(input, output, session) {

output$Box2 = renderUI(selectInput("in6","Configuration", as.character(unique(data[ , input$in5==names( data ) ]))))

ui.r

selectInput("in5","Configuration Column",c(Choose='', names(data)))
uiOutput("Box2"),
submitButton("Process")

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles