Hi,
Is it possible to have a button in a html.table such that when I click on it to open a modal/pop up window?
Thanks.
Hi,
Is it possible to have a button in a html.table such that when I click on it to open a modal/pop up window?
Thanks.
Hi @maza,
Yes, I don’t see why not. You can add an html.Button
as a child of the html.Table
, give it an ID, and use that ID in a callback. You can then construct a modal in the callback.
Here’s a start (see main.py
):
Alternatively, you could use Dash Clientside Callbacks (see the “Clientside Callbacks” section at the bottom of the page). Then you could have your html.Button
callback fire e.g. a window.alert()
.