There are ussually context menu on right mouse click. But in grid widget , the context of column can be lost , especially if user right clicks on column headers. The context menu is displayed, but another column or field can have focus. So if you implement such functionality as hide column to cursor menu for entity with grid, another column can be hidden. Please - allow block right mouse popup on grid column headers or better - create RightClick trigger for grid column headers similary as left mouse click trigger is implemented, with ColumnName as parameter. (And optionally allow programmatically show cursor menu)
Select column A right click on header of grid column B ... and in context menu select option Hide column .. In the procedure called in option trigger $fieldname function will have value A ... so behavior is bad.