Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Dynamically add new components (graphs/tables) to one 'div' when a button clicked

$
0
0

@acoder wrote:

Dear all,

Is is possible to add new Graphs/tables to one div when a button clicked?

For example

html.Div(id='container')
html.Button(id='button', 'click me')

When the button clicked, I want to give a Graph to the container div. Then there is another click, and a new Graph is added to container div…

<div id='container'>
dcc.Graph(id='n_click=1')
dcc.Graph(id='n_click=2')
...
dcc.Graph(id='n_click=n')
</div>

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images