We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

howto preserve selection region on right-click

Hi all, I''d like the user to be able to right-click on a selection area of the grid, and have a context menu invoked. At the moment, as soon as they hit the right mouse button, their selection region is lost! I''m deriving from the grid control, and I''ve tried overriding all the obvious methods, but I can''t get it to work. thanks, D.

2 Replies

AD Administrator Syncfusion Team October 15, 2004 06:34 AM

Try setting this property to see if it gives you what you need. this.gridGroupingControl1.TableModel.Options.SelectCellsMouseButtonsMask = MouseButtons.Left;


DM Dominic Morris October 15, 2004 07:30 AM

Perfect, thanks! >Try setting this property to see if it gives you what you need. > >this.gridGroupingControl1.TableModel.Options.SelectCellsMouseButtonsMask = MouseButtons.Left; >

Loader.
Live Chat Icon For mobile
Up arrow icon