glin / reactable

Interactive data tables for R
https://glin.github.io/reactable
Other
612 stars 79 forks source link

How to remove a subrow if this subrow is the single one from a certain group in reactable in R? #358

Open luciocarlosresende opened 4 months ago

luciocarlosresende commented 4 months ago

Hello, everyone!

I would like to know if there is a way to remove a subrow that is a mere repetition of the aggregated row in a group in reactable using JavaScript and CSS embedded in R code. Also, I want to remove the expansion arrow when the agreggation has only one subrow.

How can I achieve this?

The image below shows the problem I have mentioned above! tempsnip