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 10:34 AM UTC

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 11:30 AM UTC

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

Loader.
Up arrow icon