paged_table does not display

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, r

Research direction

Reproduce the minimal rmarkdown::paged_table(cars) example on Shiny Server and compare the main-container div, data-pagedtable-source script, and /var/log/shiny-server output with the working local result. Trace why data-pagedtable is false and the pagedtable sibling is absent; done means the table renders under Shiny Server without errors.

Written by the indexing model from the issue text.

Description

I am unable to get paged_table to work on Shiny Server. It works locally with RStudio. Here is a minimal example:

---
title: "paged_table MRE"
output: html_document
---

```{r}
rmarkdown::paged_table(cars)
```

Both locally and with Shiny Server, under the main-container div there is a div with attribute data-pagedtable. That div contains a data-pagedtable-source script that has the JSON data for the table. Locally (where it works) the data-pagedtable attribute is true and there is another sibling div to the data-paged-table-source script. The sibling div has class pagedtable and pagedtable-not-empty and it contains the table.

However, with Shiny Server the table does not appear. The data-pagedtable attribute is false and there is no sibling div. The log file in /var/log/shiny-server does not show any errors.

Dominant language
JavaScript
Stars
759
Forks
290
Avg merge
20m
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

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.

More from rstudio/shiny-server

All issues in rstudio/shiny-server

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.