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

How to get Group caption value on click on group cell

Thread ID:





58711 Mar 27,2007 09:22 AM UTC Mar 27,2007 09:55 AM UTC WinForms 1
Tags: GridControl
Asked On March 27, 2007 09:22 AM UTC


How can i get the group cell value when i click on the group cell.
Suppose i have group on the "City" then on click on group cell i want the group value i.e city name present in the clicked group cell
How to get the group caption/cell value
Please help


Jeba S [Syncfusion]
Replied On March 27, 2007 09:55 AM UTC

Hi Harshad,

You can try handling TableControlCellClick to get the group caption when clicking on the group cell.

private void gridGroupingControl1_TableControlCellClick(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCellClickEventArgs e)
Console.WriteLine(e.TableControl.GetTableViewStyleInfo(e.Inner.RowIndex, e.Inner.ColIndex).TableCellIdentity.TableCellType);
Console.WriteLine(e.TableControl.GetTableViewStyleInfo(e.Inner.RowIndex, e.Inner.ColIndex).Text);

Kindly let us know if this helps.

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

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