ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Create a columnDef.enableColumnMenu and GridColumn.enableColumnMenu

Open swalters opened this issue 12 years ago • 3 comments

colDef.enableColumnMenu should override gridOptions.enableColumnmenu.

@novice3030 will submit a PR for this

swalters avatar Sep 09 '14 20:09 swalters

I had assumed the semantics were that you had to enableColumnMenu at the top level, then set on a column by column basis which ones you didn't want a menu on. Does it cause problems to be able to enable a menu on one column when the overall setting is that column menus are off?

PaulL1 avatar Sep 09 '14 22:09 PaulL1

Implemented:

gridOptions.enableColumnMenus is the master switch. Defaults to true, if it's false you get no menus. colDef.enableColumnMenu lets you fine tune - if column menus are on, then you can set this to false to turn off this column menu.

PaulL1 avatar Oct 15 '14 01:10 PaulL1

you should update the wiki : https://github.com/angular-ui/ui-grid/wiki/Defining-columns there is no mention of that option I just lost 15min to find it 😢

mikacalvo avatar Sep 21 '17 13:09 mikacalvo