Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flexdashboard support (runtime: shiny & shiny_prendered) #53

Closed
Sbirch556 opened this issue Oct 8, 2019 · 1 comment
Closed

flexdashboard support (runtime: shiny & shiny_prendered) #53

Sbirch556 opened this issue Oct 8, 2019 · 1 comment
Labels

Comments

@Sbirch556
Copy link

Sbirch556 commented Oct 8, 2019

Currently trying to use shinyjqui within a flexdashboard with runtime shiny and shiny_prerendered. Using the same code in the selectabletableoutput code it appears this does not work.

---
title: "reprex"
output: 
    flexdashboard::flex_dashboard:
    orientation: rows
    vertical_layout: fill
    source_code: embed
runtime: shiny_prerendered
---

```{r global, include=FALSE}
library(flexdashboard)
library(shinyjqui)
```


```{r context="server"}
output$selected_context <- renderPrint({
  cat("Selected:\n")
   input$tbl_selected_context
 })

output$selected_start <- renderPrint({
    cat("Selected:\n")
    input$tbl_selected_start
  })

output$selected_render <- renderPrint({
    cat("Selected:\n")
    input$tbl_selected_render
  })

  output$tbl <- renderTable(head(mtcars), rownames = TRUE)
  ```


  Row 
  ----

  ### Table

  ```{r}
   selectableTableOutput("tbl", selection_mode = "cell")
  ```

  ### Context=Data

      ```{r}
  verbatimTextOutput("selected_context")
     ```


   Row 
   ----

   ### Context=sever-start

   ```{r}
   verbatimTextOutput("selected_start")
   ```


   ### Context=render

   ```{r}
   verbatimTextOutput("selected_render")
   ```
@Yang-Tang Yang-Tang added the bug label Oct 9, 2019
@Yang-Tang
Copy link
Owner

Hi @Sbirch556 , sorry for the long time waiting. The bug is now fixed with commit 9f1e613. The newest github version of shinyjqui should now support flexdashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants