rstudio / rstudio/flexdashboard

DT tables with language option do not render

Open
#456 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
848
Forks
298
PR merge metrics
No merged PRs in 30d

Description

For some reason, DT tables are not rendered when the language option was specified.
Note that the table is rendered when no page layout is specified.
Here is a reproducible example:

---
title: "issue flexdashboard"
output: 
  flexdashboard::flex_dashboard:
    orientation: columns
    vertical_layout: fill
---

Page 1
=====================================  

other attached packages:
[1] DT_0.33             flexdashboard_0.6.2


### Tabla
```{r}
require(DT)
datatable(iris,options = list(language = list(url = 'https://cdn.datatables.net/plug-ins/2.0.2/i18n/es-ES.json'))) 
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the reproducible R flexdashboard example with DT 0.33 and the specified language URL, then compare it with the no-layout case. Trace the dashboard's table-rendering path; done when the table renders with the language option in the stated layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, r
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.