Open Camil88 opened 3 years ago
Hi, searching is supported for expandable rows, but you'll have to use true expandable rows (with groupBy
grouping) instead of a nested table. When custom rendering a table within the row details, the main table isn't aware of any of the nested tables because they're all independent table widgets.
If you'd like to make this work, I think Crosstalk is your best bet for cross-widget linked filtering. I don't have an example of this on hand, but may have a few pointers..
Thank you for your answer. In fact, I used groupBy
since I couldn't do anything better in this case and yes, it makes searching throught exapanded rows possible. However, I'd like to use nested table and search through it so I'll take a look at issue #57, this eexample looks really nice and maybe it will solve my problem.
Hello, I'm using
reactable
to make a table in my shiny app. I added search bar to a table but it only works for main rows of that table. In case I have expandable rows it doesn't work. I want to search values also in expandable rows. Base on the example provided below - if you search for 'Front' word then rows which have it in nested/expandable rows should be filtered.Please have a look at my short and workable example:
I tried to add some js (expand rows automatically on keyup event in search bar, then search in expanded rows) but it didn't work for me, it was very slow.