Questions tagged [reactable]

Use this tag for questions related to the reactable package. The reactable package provides functions to create interactive data tables in the R programming language, based on the React Table library and made with reactR.

180 questions
1
vote
1 answer

Creating custom rendered footer values i a reactable

I am having a hard time to render my footer column in a reactable. I want to use JS here to access the client-side filtered state, and since iam not too familiar with JS i am stuck. What i want is: to use the summarized footer values from two…
mcmurphy
  • 104
  • 6
1
vote
1 answer

Reactable cell function not executing on second page

I'm using reactable to display a table within my shiny app. Reactable allows for custom cell rendering using either a R function or a JS function. I am trying to render a custom
and manipulate that
with a JS function when hovering the…
Eike
  • 98
  • 5
1
vote
1 answer

How to style reactable cell background with custom grouping select

I have some data I'm trying to present using reactable. I am styling the background of cells based on the value. There are a number of groups in the data which are useful, but the groups themselves do not have an aggregated value that is useful. The…
TrainingPizza
  • 1,090
  • 3
  • 12
1
vote
0 answers

Selecting Reactable Rows via Leaflet Map with Crosstalk

In the code below from https://glin.github.io/reactable/articles/examples.html#cross-widget-interactions, I'd like to be able to highlight the row entry by clicking on the map icon, i.e. the reverse of clicking on the table entry. Is that possible…
Chris
  • 1,449
  • 1
  • 18
  • 39
1
vote
1 answer

How to add titles to Reactable tables in R Markdown

For this week's TidyTuesday challenge, I have been trying to make a table using reactable package. To this end, I looked at some blog posts on making tables with reactable in R and I made some progress, particularly with regard to customizing…
mzkrc
  • 219
  • 2
  • 7
1
vote
2 answers

Selecting multiple cells within the same group R reactable (and maybe actionButtons)

The code below produces the following table: The Goal is to be able to select a category in the Manufacturer column (ex/ Buick) and have the 4 Models (2 from Midsize and 2 from Large) get selected. Right now the Select All feature only works by…
Ahmad Mobin
  • 153
  • 10
1
vote
1 answer

Unexpected tab behavior using tabsetPanel nested within a reactable detail function in a shiny app

My shiny app uses a reactable with nested detail tables using a shiny tabsetPanel. I've recreated the effect in the reprex below. What I expect is that when the user selects a different detail tab to display it replaces the current one. Instead, it…
1
vote
0 answers

Custom JS aggregation function reactable groups pull data from table

I have a dataset of groups that looks something like this: 1 Groupname 11 Subgroupname 111 Subsubgroupname1 112 Subsubgroupname2 12 Subgroupname 121 Subsubgroupname 122 Subsubgroupname 2 Groupname 21 Subgroupname 211 Subsubgroupname1 212…
Ainhoa
  • 191
  • 7
1
vote
1 answer

R Reactable hide columns by default

I would like to display a dataframe consisting on many columns in a reactable. Since only very few columns are interesting the default setting should be to hide the columns. When I do this it is however impossible to see any columns since none are…
volfi
  • 435
  • 3
  • 11
1
vote
0 answers

Save local ggplot graphics and use in reactable table

I'd like to generate small ggplot graphics and use them inline in a reactable. I can generate the plots needed (1 per row), but when inserting them into the table, they come up as broken images. I imagine it has something to do with the file…
acircleda
  • 673
  • 4
  • 13
1
vote
1 answer

Is it possible to create double column names in reactable library?

I found here examples, of how to do tables with reachable function, however, did not find (also in different sources) how to do double-column names library(reachable) library(data.table) data<-structure(list(date = structure(c(1580428800,…
Priit Mets
  • 465
  • 2
  • 14
1
vote
1 answer

R Shiny table how to format html code correctly in expandable rows

In my shiny app I display a table (reactable) with an expandable row. I would like to change the background color for certain words, therefor I use html spans. It works fine for the text in the regular row, in the expandable row however only the…
volfi
  • 435
  • 3
  • 11
1
vote
1 answer

Insert borders underneath selected rows in reactable R

I am trying to put black borders beneath specific rows of a Reactable table in R. For instance, using the cars dataframe as an example, I would like to put a horizantal black line beneath the 2nd and 4th rows of the table generated with the code…
cholo.trem
  • 314
  • 2
  • 9
1
vote
1 answer

Conditional formatting multiple columns in reactable

I've been struggling with this for a while but can't get my head around it. I want to generate a table with reactable, but conditionally format every (numerical) column with background shading. I know how to apply this to columns, as long as I…
Will
  • 381
  • 2
  • 12
1
vote
0 answers

Use Google Font with R's Reactable Table

Following the example here (Custom fonts) I chose a font that is different enough I could easily see whether it was working or not. Redressed. Why isn't the body of this table using Google's 'Redressed' font? library("reactable") # Add a custom…
ixodid
  • 2,180
  • 1
  • 19
  • 46