AD
Administrator
Syncfusion Team
February 21, 2008 06:14 AM UTC
Hi AndreasG,
You can set the property so that a right-click will not affect the current selection settings.
this.GridControl1.Model.Options.SelectCellsMouseButtonsMask = Windows.Forms.MouseButtons.Left;
This should prevent the currently selected range from changing. If there is no selection when you click, you can get the clicked row and col using;
int row = 0;
int col = 0;
Point pt = this.GridControl1.PointToClient(Control.MousePosition);
this.GridControl1.PointToRowCol(pt, row, col);
Let us know if this is not what you needed.
Regards,
Asem.