# Does Dash ag-grid come with Range Selection?

**URL:** <https://community.plotly.com/t/does-dash-ag-grid-come-with-range-selection/75890>\
**Category:** Dash Python\
**Created:** [June 6, 2023, 6:18pm UTC](https://community.plotly.com/t/does-dash-ag-grid-come-with-range-selection/75890 "2023-06-06T18:18:48Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jinnyzor](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/jinnyzor/32/21194_2.png) [@jinnyzor](https://community.plotly.com/u/jinnyzor)\
**Post date:** [June 21, 2023, 10:52am UTC](https://community.plotly.com/t/does-dash-ag-grid-come-with-range-selection/75890/6 "2023-06-21T10:52:52Z")

</div>

Hello @rictuar,

With dash ag grid 2.2.0, you can add custom event listeners through the exposed api.

Check out the flow here:

> [@Context Menu in Dash AG Grid](https://community.plotly.com/t/context-menu-in-dash-ag-grid/75674/8):
>
> Hello @smalgotrader, With dash ag grid 2.2.0, you now have access to the api and columnApi. The api allows you to add custom event listeners, now, this won’t directly trigger a callback, but you can definitely hook it into something to trigger it. You could use the cellContextMenu event, and make sure the column matches the column you want, if so. Prevent the default and show your custom menu where they can disable or enable the updates. To add it, do something like this: dash\_ag\_grid.getAp…

---

_[View the full topic](https://community.plotly.com/t/does-dash-ag-grid-come-with-range-selection/75890)._
