Is it possible to create a reactive data table that creates a popup when you click on a row? I hope to show joined data from another table in the popup.
YES. But how depends.
Some ideas
- Templates provide modal, pop up functionality, c.f. Templates β Panel 0.12.4 documentation
- Using
ReactiveHTML
a more advanced floating panel can be created, c.f. How do I use jsPanel with Panel and ReactiveHTML? - You can use
selection
on the dataframe widget to react to click/ selections, c.f. Dataframe β Panel 0.12.4 documentation - you can use
selection
on theTabulator
widget to react to clicks, c.f.Tabulator β Panel 0.12.4 documentation.
alternative user experiences are
- having a panel below the table update to selections, a parent/ child relation.
- using the upcoming
row_detail
functionality ofTabulator
in Panel 0.13, c.f. https://github.com/holoviz/panel/pull/2762. Itβs already in themaster
branch.
Feel free to post a minimum, reproducible example that can be used as a starting point for providing more specific suggestions if needed.
1 Like
Thanks!
1 Like