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

incorrect DT::datatable() rendering with "Scroller" extension #415

Open
nplatonov opened this issue Jan 27, 2023 · 0 comments
Open

incorrect DT::datatable() rendering with "Scroller" extension #415

nplatonov opened this issue Jan 27, 2023 · 0 comments

Comments

@nplatonov
Copy link

In flexdashboard-0.5.2 shiny::fillCol(flex=NA,...) rendered correct DT::datatable(..., extensions="Scroller",...). But since flexdashboard-0.6.0 this rendering is failed.

flexdasboard version 0.5.2:
version052

flexdasboard version 0.6.1:
version061

---
pagetitle: Scroller extension
runtime: shiny
output:
   flexdashboard::flex_dashboard:
      orientation: rows
---

```{r echo=TRUE}
'dummyTable' <- function() {
   DT::datatable(mtcars[,1:6],rownames=TRUE,extensions="Scroller"
                ,options=list(dom="ift",scroller=T
                             ,scrollY="calc(100vh - 400px)"))
}
```

# Incorrect table rendering and "Showing X to Y of Z entries" output. `flexdashboard` version is `r packageVersion("flexdashboard")`. `DT` version is `r packageVersion("DT")`.

## 

###

```{r echo=exists("fillCol"), eval=exists("fillCol")}
shiny::fillCol(flex=NA,DT::renderDT(dummyTable()))
```

###

```{r echo=TRUE}
dummyTable()
```
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

No branches or pull requests

1 participant