# Dash AG grid. Hideable columns

**URL:** <https://community.plotly.com/t/dash-ag-grid-hideable-columns/75430>\
**Category:** Dash Python\
**Created:** [May 20, 2023, 2:32pm UTC](https://community.plotly.com/t/dash-ag-grid-hideable-columns/75430 "2023-05-20T14:32:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Legenden](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Legenden](https://community.plotly.com/u/Legenden)\
**Post date:** [May 20, 2023, 2:32pm UTC](https://community.plotly.com/t/dash-ag-grid-hideable-columns/75430/1 "2023-05-20T14:32:44Z")

</div>

Dear community. Im very interesting in the “new” ag grid library. Ive been looking over the documentation. I dont seem to be able to identify any features for enabling toggling columns on/off (show/hide)

---

<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:** [May 20, 2023, 2:44pm UTC](https://community.plotly.com/t/dash-ag-grid-hideable-columns/75430/2 "2023-05-20T14:44:32Z")

</div>

Hello @Legenden,

This feature is available by default in Enterprise, however, you have the ability to adjust the columnDef or columnState in a callback. Both of which would allow you to hide or show columns.

Id recommend using the columnState vs columnDefs, as you can use a Patch update and it will adjust the info in place, against the current state of the columns. Plus with a pending PR, changing the columnDefs will not override the columnState.

Or to make things even quicker, you could use a clientside callback.
