AG-Grid: How to remove the Column Menu

Dominic picture Dominic · Jan 24, 2018 · Viewed 8.5k times · Source

I would like to remove the column menu. I can simply display: none it, but it seems a waste to process and render it in the first place. I can only find options on how to edit items inside the menu in the docs. Thanks

Answer

Jarod Moser picture Jarod Moser · Jan 24, 2018

Either setting menuTabs: [] or suppressMenu: true in the columnDefs. In this plunker the silver column demonstrates the first, while the bronze column demonstrates the second