HA
haneefm
Syncfusion Team
July 11, 2007 05:33 PM UTC
Hi code12345,
There is an Options property setting that controls which mouse buttons select/unselect cells. The default is for either button to select/unselect cells. To only allow the left button to select/unselect cells, try:
//For GridControl/GridDatabound control:
this.grid.Model.Options.SelectCellsMouseButtonsMask = MouseButtons.Left;
//for showing the menu when right mouse button is clicked.
this.grid.ContextMenu = this.contextMenu1;
Best regards,
Haneef