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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Row Selection in GGC

Thread ID:





68728 Sep 28,2007 07:34 PM UTC Oct 2,2007 07:29 PM UTC WinForms 1
Tags: Grouping
Abhishek Shivalingaiah
Asked On September 28, 2007 07:34 PM UTC

Syncfusion 5.1
VS 2005

When the user selects a row on GGC, how do I capture the row information and then re-apply it(re-select the same row) when the user sorts or filters the GGC?


haneefm [Syncfusion]
Replied On October 2, 2007 07:29 PM UTC

Hi Shek,

Bydefault, the groupinggrid keeps the selected records when sorting the grid by column. Here is a minimal sample that shows this task.

Sample : SeelctionGGC.zip

If you want to get the selected records then use the Table.SelectedRecords collection property and use the selectedRecord.Record.GetData method to get the datarow information of selected record. Below are the codes:

foreach (SelectedRecord srec in this.gridGroupingControl1.Table.SelectedRecords )
DataRowView row = srec.Record.GetData() as DataRowView;

Best regards,


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

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