Skip to content

Instantly share code, notes, and snippets.

@MySchizoBuddy
Created July 24, 2016 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MySchizoBuddy/5f89652e181eb382cf81596028cf46d2 to your computer and use it in GitHub Desktop.
Save MySchizoBuddy/5f89652e181eb382cf81596028cf46d2 to your computer and use it in GitHub Desktop.
This code shows both scrolling and disappearing table issue with rhandsontable when used with shiny runtime of flexdashboard
---
output:
flexdashboard::flex_dashboard:
orientation: columns
vertical_layout: fill
runtime: shiny
---
```{r setup, include=FALSE}
library(rhandsontable)
```
Column
-----------------------------------------------------------------------
### Chart A
```{r}
rhandsontable(mtcars, width = 700, height = 500)
```
Column
-----------------------------------------------------------------------
### Chart A
```{r}
rHandsontableOutput("TableC")
output$TableC <- renderRHandsontable(mtcars)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment