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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Multi-Select GDBG and Context Menu

Thread ID:





35149 Sep 23,2005 07:34 PM UTC Oct 10,2005 01:36 PM UTC WinForms 3
Tags: GridControl
Administrator [Syncfusion]
Asked On September 23, 2005 07:34 PM UTC

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 24, 2005 12:32 AM UTC

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 01:30 PM UTC

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 01:36 PM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon