AD
Administrator
Syncfusion Team
August 24, 2006 04:22 AM UTC
Hi Kostya,
There is a property that controls this behavior of which mousebutton can select cells. Try the below code
this.grid1.Model.Options.SelectCellsMouseButtonsMask = MouseButtons.Left;
This should prevent the right button from affecting any selections.
Please let me know if this does not handle things for you,
Thanks,
Haneef
KB
Konstantin Babiy
August 25, 2006 09:57 AM UTC
Thank you for assistance, Haneef.
This property works (in GridGroupingControl i found it in
_gridGrouping.TableControl.Model.Options.SelectCellsMouseButtonsMask)
BUT
setting it to left mouse button only suppresses TableControlCellClick event appearing (_gridGrouping.TableControlCellClick), so i cannot have what I wanted - my selection on my RMB click processing.
Right now i am trying to solve this, but still no success :(
>Hi Kostya,
There is a property that controls this behavior of which mousebutton can select cells. Try the below code
this.grid1.Model.Options.SelectCellsMouseButtonsMask = MouseButtons.Left;
This should prevent the right button from affecting any selections.
Please let me know if this does not handle things for you,
Thanks,
Haneef
KB
Konstantin Babiy
August 25, 2006 10:04 AM UTC
I have to correct myself:
setting it to left mouse button only suppresses TableControlCellClick event appearing on right mose button click - so I just can''t have my RMB popup menu appear