Skip to main content

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.

reactable
3 votes
1 answer
36 views

How to show a ConditionalPanel when a row in a reactable table is selected?

I have a reactable data table containing mtcars and would like to show a table containing iris on the UI only when a row in the mtcars table is selected. The below condition is not working. library(...
Andrii's user avatar
  • 3,023
4 votes
2 answers
80 views

How to search for multiple strings with AND using JS filter in reactable?

My question is the following. I am trying to create a reactable with R, and I basically want the search bar to be able to global search for multiple strings separated by a whitespace; so for example, ...
userq8957289475's user avatar
1 vote
1 answer
44 views

How to link table panels in R Shiny Dashboard using datatable to filter data in table 2 based on click in table 1?

Is it possible to program a dashboard with the same functionality as in this example, but instead of using reactable, using the DT (DataTable) package? Requirement: Jump to Table 2 for showing ...
Gurkenhals's user avatar
-1 votes
2 answers
45 views

Can I use `reactable` with groupBy and span several columns?

My data set has only two columns, but with rather some rather long strings. For example, library(lorem) # for test data dat <- data.frame( group=c( # 2 groups rep(as.character(lorem::...
Karsten W.'s user avatar
  • 18.2k
1 vote
1 answer
34 views

How to link table panels in R Shiny Dashboard using reactable to filter data in table 2 based on click in table 1?

I have an R dashboard with two panels. Each panel displays a table showing a different data frame. Table 1 shows all players with their team affiliation and total score. Table 2 shows the scores of ...
Gurkenhals's user avatar
1 vote
1 answer
48 views

How to display a dynamic sum of filtered scores in a reactable footer?

I would like to display a data frame with scores for individuals using the reactable package in an R dashboard. The footer row should show the sum of the scores of the filtered options. In the current ...
Gurkenhals's user avatar
0 votes
0 answers
25 views

Is it possible (and how) to make displaying details lazy loading in {reactable}?

I have a shiny app which stores a names of data frames. This names work as a SQL queries - when user clicks on the name, it should run the query and display result. I thought that I could use for that ...
gss's user avatar
  • 1,423
0 votes
1 answer
33 views

How to move horizontal scrollbar for reactable table to right?

I have reactable table that is very wide. Most of the time I am interested in the right-most columns and so would want to show them by default. This is typical for time series tables, where the most ...
toksing's user avatar
  • 337
0 votes
2 answers
34 views

SliderInput in Reactable not working when rendered using renderUI

I want to use a sliderInput within a reactable table. As the dimensions are only known at runtime (depend on other user inputs), I need to create the table using renderUI. When I create the reactable ...
David's user avatar
  • 9,846
0 votes
1 answer
57 views

How do I set the filterValue in a filterable reactable in r shiny?

This simple shiny app creates a two column table. I want to set the filterValue in the first column Name to Bob when I press the Set Filter button. At the moment, the table is displayed, but nothing ...
Þórhildur Júlíusdóttir's user avatar
0 votes
2 answers
99 views

How to display sparkline charts inside data frame cell values using reactable?

I have a data frame df that looks like Index Value1 Range 0.1 0.2 c(1,2,3) 0.1 0.2 c(8,2,6) I want to display the table using R Shiny such that the Range column is a sparkline line chart where ...
Siddharth Somani's user avatar
2 votes
2 answers
60 views

How to Retrieve the Last Reactable Object

I am currently working with reactable in R and I am trying to find a way to retrieve the last reactable object, similar to how ggplot2::last_plot() is used to get the last plot object. How can I ...
mat's user avatar
  • 2,445
0 votes
2 answers
221 views

R Reactable highlight entire rows based on condition

I want to highlight all rows in a reactable that meet a certain condition. Unfortunately, I have found neither an option nor a suggested solution for this on the net. Here is my reproducible example: ...
TobKel's user avatar
  • 1,391
2 votes
0 answers
42 views

How to render HTML tags inside a reactable?

I am trying to render HTML tags inside a reactable in Shiny. However the below example is not a shiny table. I have only kept the table in order to reduce the code. I am not able to render the button ...
rakfn's user avatar
  • 41
0 votes
1 answer
94 views

Add on-hover column descriptions for several tables on Shiny with reactable

The app will contains several tables. Some of the column names aro common among them, but some are different. I want to add a brief description of some columns that must show on hover over the column ...
Lev Michkin's user avatar

15 30 50 per page
1
2 3 4 5
16