How to make columns sticky for a nested table using reactable
I’m trying to display a nested table using the reactable
package. I’d like to have the first column be sticky, for both the main table and the table in the expandable rows. However, I’m not able to get the columns in the nested tables to be sticky for horizontal scrolling (just the columns in the main table). Below is sample code:
How to set default Reactable options?
Is there a way to set default reactable table options e.g. (compact = T and striped = T)
throughout instead of copy/pasting the same options for each reactable table?
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,
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 recent data is in focus (but you might still want to check the long-term history) and is usually shown on the right. How can I ensure the scrollbar is on the right by default – as simple as possible?