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.

Right-click de-selects all selected items

Thread ID:

Created:

Updated:

Platform:

Replies:

67369 Aug 15,2007 11:30 PM Aug 16,2007 01:16 AM Windows Forms 2
loading
Tags: GridControl
Kent Boogaart
Asked On August 15, 2007 11:30 PM

I saw a post elsewhere discussing this problem with another of the grid controls, but the remedy does not appear to apply to the data-bound grid.

How can I stop a right-click from deselecting all selected items in my data-bound grid? If the user has 3 items selected and they right-click one of them, it shouldn't de-select 2 of the items.

Thanks

Jeba S [Syncfusion]
Replied On August 16, 2007 12:40 AM

Hi KB,

Thank you for posting query to us.

You can use the SelectCellsMouseButtonsMask property to prevent the right button from affecting any selections.

this.gridDataBoundGrid1.Model.Options.SelectCellsMouseButtonsMask = MouseButtons.Left;


Please refer the sample and let us know if this helps.
http://websamples.syncfusion.com/samples/Grid.Windows/F67349/main.htm

Thank you for using Syncfusion Products.

Best Regards,
Jeba.

Kent Boogaart
Replied On August 16, 2007 01:16 AM

Sweet - thanks.

CONFIRMATION

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.

;