Skip to content

Implement resize#374

Open
JohnCoene wants to merge 1 commit intojrowen:masterfrom
JohnCoene:master
Open

Implement resize#374
JohnCoene wants to merge 1 commit intojrowen:masterfrom
JohnCoene:master

Conversation

@JohnCoene
Copy link
Copy Markdown

Implement resize, fixes ramnathv/htmlwidgets#161

library(shiny)
library(rhandsontable)

ui <- shinyUI(fluidPage(
  sidebarLayout(
    sidebarPanel(
      checkboxInput("check", "Show Table", FALSE),
      conditionalPanel("input.check === true",
                       rHandsontableOutput("tbl"))
    ),
    mainPanel()
  )
))

server <- function(input, output) {
  output$tbl <- renderRHandsontable({
    rhandsontable(data.frame(col1 = LETTERS[1:10], col2 = 1:10))
  })
}

shinyApp(ui = ui, server = server)

Not sure why it was not implemented, there may be a valid reason I am missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

shiny conditionalPanel not resizing widget height

1 participant