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.
Unfortunately, activation email could not send to your email. Please try again.

Multi-Select GDBG and Context Menu

Thread ID:





35149 Sep 23,2005 03:34 PM Oct 10,2005 09:36 AM Windows Forms 3
Tags: GridControl
Administrator [Syncfusion]
Asked On September 23, 2005 03:34 PM

I have a multi-select GridDataBoundGrid which has an associated context menu that can be used to perform vaious actions on the selected records. The problem I have is that if several records have been selected, right-clicking to get the context menu changes the selection to be only the record that was right-clicked, rather than the entire multi-selected set. Is there a way to suppress the selection change on a right-click in a GDBG?

Administrator [Syncfusion]
Replied On September 23, 2005 08:32 PM

Try setting this.grid.Model.Options.SelectCellsMouseButtonsMask = MouseButtons.Left; to see if this gives you what you want.

Gergely Varadi
Replied On October 10, 2005 09:30 AM

Promblem with this solution is that if I multiselect some rows but right click on a cell outside the selection, the selection does not change to the right clicked cell. (See Excel.)

Administrator [Syncfusion]
Replied On October 10, 2005 09:36 AM

See this thread. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=32170


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.