Multiple Row Selection (In Excel Sheet Pattern)

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

1 Reply

AD Administrator Syncfusion Team July 12, 2006 12:53 PM UTC

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

Loader.
Up arrow icon