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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Multiple Select in Grouping Grid?

Thread ID:





21181 Nov 3,2004 11:27 PM UTC Nov 5,2004 07:20 AM UTC WinForms 4
Tags: Grouping
David Llewellyn
Asked On November 3, 2004 11:27 PM UTC

Hello there, Is there any way which I can allow a user to select multiple rows, using a GridGroupingControl grid? I need to be able to either use the mouse or use the shift key to select multiple rows. Thanks, David

Administrator [Syncfusion]
Replied On November 4, 2004 11:03 AM UTC

this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.Any & ~GridSelectionFlags.Cell; this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended; If you are using a flat grid (no nested tables), then you can try setting these properties. But with the current release this does not work well with hierarchical data and nested tables. Here is a forum thread discussing this. Our upcoming 3.0 release addresses this problem. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=18891

David Llewellyn
Replied On November 4, 2004 07:55 PM UTC

Thank you.

David Llewellyn
Replied On November 4, 2004 09:54 PM UTC

Hello Again, Just another quick question. How can I retrieve the selected rows, when I press a button? I need to add or delete the selected rows into another Grouped grid. Thank you, David.

Administrator [Syncfusion]
Replied On November 5, 2004 07:20 AM UTC

You can get the selected ranges from this object, this.gridGroupingControl1.TableModel.Selections.Ranges. And you can iterate through them as shown in this KB. http://www.syncfusion.com/Support/article.aspx?id=564


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon