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.

Multiple Row Selection (In Excel Sheet Pattern)

Thread ID:





46378 Jul 12,2006 06:09 AM Jul 12,2006 08:53 AM Windows Forms 1
Tags: GridControl
Asked On July 12, 2006 06:09 AM

Hi All, Please find the attachment. I am trying to implement a functionality to select rows in the Grid control and some action on them like (delete , export to excel etc). i have several context menus for these actions. But, I am unable to select the alternative columns (as its in the attached image file). i have set the property this.grid.ListBoxSelectionMode=SelectionMode.MultiExtended; Please let me know how to implement this functionality. Thanks and Regards, Vikram

Rows selection.zip

Administrator [Syncfusion]
Replied On July 12, 2006 08:53 AM

This behavior is by design. Selecting the ListBoxSelectionMode to something other than None turns off selections types other than rows including turning off column selections. One way around this is to handle teh CellClick event to catch a click on a column header and explicitly add the column selection at that point. Here is a little sample that does this. http://www.syncfusion.com/Support/user/uploads/MoveColsWithListBoxMode_d7c4bbde.zip


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.