Nigel V Thomas
2009-01-16 08:48:00 UTC
Good day.
Does anyone know how to add a context menu to a datagrid view control's
column header?
I'm familiar with Context menus and their .show method - I use them
extensively in my app.
I can add a context menu to the DGV column header but it appears relative to
the first column - I'm trying to get the menu to appear over each column as
clicked
Can't find a solution - I suspect there isn't one as the column is not an
object and the CM must be attached to an object
Nigel
Does anyone know how to add a context menu to a datagrid view control's
column header?
I'm familiar with Context menus and their .show method - I use them
extensively in my app.
I can add a context menu to the DGV column header but it appears relative to
the first column - I'm trying to get the menu to appear over each column as
clicked
Can't find a solution - I suspect there isn't one as the column is not an
object and the CM must be attached to an object
Nigel