Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

Right-click Context Menu from DataTable

Hi, I want to create a right-click context menu from a Dash DataTable (with callbacks of course). So for example the DataTable has a list of stocks and right-click displays a context menu with [“Buy”, “Sell”] etc. Any ideas/methods/workarounds appreciated.

@dashfan48 tried the exact same question here with no replies (Right-click custom context menu?) so I’m just throwing it back out there.

From this post it looks like Context Menu used to be part of dash_html_components at one point but was removed ("Menu" element missing from html_components? - #4 by Peter_S). It’s quite a standard feature though so I’d be surprised if it’s not doable somehow.

Thanks!