Rstudio shiny collapsible sidePanel

后端 未结 2 1611
日久生厌
日久生厌 2021-01-14 18:08

I want to maximise the usable screen width of the mainPanel for an Rstudio shiny webpage.

In my webpage, the sidePanel is used to select p

2条回答
  •  攒了一身酷
    2021-01-14 18:43

    Only a partial solution but ... if you wrap the div below around the content or your sidebarPanel

    div(id = "demo", class = "collapse in", 
    
    )
    

    and then put a button in your main panel as follows

    HTML(""),
    

    you can collapse the content of the sidebarPanel. This doesn't expand the main panel to take up all the screen however.

提交回复
热议问题