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.

How to select multiple rows in grid grouping control

Thread ID:





117575 Nov 11,2014 04:55 AM Nov 12,2014 02:03 PM Windows Forms 1
Tags: GridGroupingControl
Asked On November 11, 2014 04:55 AM

I am using grid grouping control,
I want to select multiple rows in grid.
And also count of selected rows.
For selection of rows I am using
                   this.gridgroupingControl.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;
                    this.gridgroupingControl.TableOptions.AllowSelection = Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Multiple;
But it not working.
I am using gridgroupingControl.TableModel.Selections.Count ,but it gives 0
Is any solution regarding this?


Muthukumar Kalyanasundaram [Syncfusion]
Replied On November 12, 2014 02:03 PM

Hi Paurnima,


Thank you for your interest in Syncfusion products.


If you want to select the multiple rows in a gridgroupingcontrol, you can use the “ListBoxSelectionMode” property and select the selectionmode as “MultiExtended”. And if you want to count the selected records in grid, you can use the “SelectedRecords” property. Please refer the below code,




this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;


private void buttonAdv1_Click(object sender, EventArgs e)


            int i1 = this.gridGroupingControl1.Table.SelectedRecords.Count;




Please let us know if you have any concern.



Muthukumar K

Attachment: MultirecordSelection_count_6b61437c.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.