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.

Selection problem....

Thread ID:

Created:

Updated:

Platform:

Replies:

64853 Jul 24,2007 07:43 AM Jul 25,2007 10:23 AM Windows Forms 3
loading
Tags: GridControl
Alia
Asked On July 24, 2007 07:43 AM

when I select multiple columns by holding control key it works fine, but when i right click on last selected column to see my context menu.
all other selections simply dissappears.
please see the attached solution.

thanks in advance.


multipleSelections0.zip

haneefm [Syncfusion]
Replied On July 24, 2007 11:06 AM

Hi Alia,

Please use the below property setting to prevent right click from affecting any selections. This will help you.

this.gridGroupingControl1.TableModel.Options.SelectCellsMouseButtonsMask = MouseButtons.Left;

Best regards,
Haneef

Alia
Replied On July 25, 2007 10:20 AM

thanks haneef,
but problem is i am using gridcontrol, not gridgroupingcontrol.
gridcontrol does not have tableModel property.
what should i use for gridcontrol.

Regards.

Alia
Replied On July 25, 2007 10:23 AM

thanks,
i have found it. it was model property.

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.

;