# Interactivity between dependent dropdowns

**URL:** <https://community.plotly.com/t/interactivity-between-dependent-dropdowns/6096>\
**Category:** Dash Python\
**Created:** [October 4, 2017, 10:43pm UTC](https://community.plotly.com/t/interactivity-between-dependent-dropdowns/6096 "2017-10-04T22:43:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolasescobar](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@nicolasescobar](https://community.plotly.com/u/nicolasescobar)\
**Post date:** [October 4, 2017, 10:43pm UTC](https://community.plotly.com/t/interactivity-between-dependent-dropdowns/6096/1 "2017-10-04T22:43:02Z")

</div>

Hi!  
I’m trying to use two dropdowns as a filter to my plotly graphs on Dash. How can I accomplish that the first dropdown (“_Region_”) changes the options in the second dropdown (“_City_”)?

Another topic: Is it possible to create a _html.DataTable_ that changes when I use the dropdown filters? how?

Thank you in advance for your help!

---

<div class="post-metadata">

**Author:** ![chriddyp](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/chriddyp/32/16855_2.png) [@chriddyp](https://community.plotly.com/u/chriddyp)\
**Post date:** [October 5, 2017, 3:45am UTC](https://community.plotly.com/t/interactivity-between-dependent-dropdowns/6096/2 "2017-10-05T03:45:56Z")

</div>

> [@nicolasescobar](#):
>
> How can I accomplish that the first dropdown (“Region”) changes the options in the second dropdown (“City”)?

I recommend taking a look through [Part 2. Basic Callbacks | Dash for Python Documentation | Plotly](https://plot.ly/dash/getting-started-part-2) (and the rest of the tutorials!) - The last example in that tutorial has an example where the countries radio items update the cities radio items.

> [@nicolasescobar](#):
>
> Another topic: Is it possible to create a html.DataTable that changes when I use the dropdown filters? how?

Here’s an example: [Display tables in Dash - #12 by chriddyp](https://community.plotly.com/t/display-tables-in-dash/4707/12)
