How to disallow DataGrid.Net context menu?

How to disallow DataGrid.Net context menu, when mouse is over column headers

1 Reply

AD Administrator Syncfusion Team May 15, 2004 06:10 AM UTC

This forum is for questions on Essential Grid controls, not Windows Forms controls. You might want to post this question elsewhere. I did not try this, so I do not know if it will work or not. But you migh try deriving the DataGrid, overriding OnMouseDown, and if the point is in a column header and if the e.Button is right, then do not call the base class.

Loader.
Up arrow icon