# Triggering a callback with a dropdown selection from datatable cell

**URL:** <https://community.plotly.com/t/triggering-a-callback-with-a-dropdown-selection-from-datatable-cell/81826>\
**Category:** Dash Python\
**Created:** [January 24, 2024, 7:51pm UTC](https://community.plotly.com/t/triggering-a-callback-with-a-dropdown-selection-from-datatable-cell/81826 "2024-01-24T19:51:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![AnnMarieW](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@AnnMarieW](https://community.plotly.com/u/AnnMarieW)\
**Post date:** [January 24, 2024, 9:13pm UTC](https://community.plotly.com/t/triggering-a-callback-with-a-dropdown-selection-from-datatable-cell/81826/4 "2024-01-24T21:13:56Z")

</div>

Hi @romarcin

You can also use the Grid’s Cell Editor:

> **[Provided Cell Editors | Dash for Python Documentation | Plotly](https://dash.plotly.com/dash-ag-grid/provided-cell-editors#select-cell-editor)**
>
> Provided Cell Editors in Dash AG Grid

Here’s another example where the dropdown has different options depending on the row:

> **[Cell Editors | Dash for Python Documentation | Plotly](https://dash.plotly.com/dash-ag-grid/cell-editors#dynamic-parameters)**
>
> Cell Editors in Dash AG Grid

Or even create a custom component using the Dash Manetine Components library like in this post:

> [@Using Dash Mantine Components dmc.Select as an AG Grid cell editor](https://community.plotly.com/t/using-dash-mantine-components-dmc-select-as-an-ag-grid-cell-editor/74988/2):
>
> Hi @alistair.welch Thanks for sharing this great custom cell editor component! I just added it to the [Dash AG Grid docs.](https://dashaggrid.pythonanywhere.com/components/cell-editor-components) I made a couple minor edit to make it even easier to use from Dash. You can now copy and paste the component into the dashAgGridFunctions.js file in the assets folder, then pass props to the dmc.Select component using the cellEditorParams prop. No need to write any JavaScript! See the code for these examples in the docs: [ag\_grod\_dmc\_select1] [ag\_grid\_dmc\_selec…

---

_[View the full topic](https://community.plotly.com/t/triggering-a-callback-with-a-dropdown-selection-from-datatable-cell/81826)._
