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

Caption on Visible Columns

Thread ID:





69820 Nov 13,2007 03:52 PM UTC Nov 15,2007 10:12 AM UTC ASP.NET Web Forms (Classic) 1
Tags: Grouping
Steve Scott
Asked On November 13, 2007 03:52 PM UTC

I am using the GridGrouping control to display data from a custom data table. On display, the headers are using the 'Caption' property from the DataTable to display Column headers. I have tried looping through the visible columns collection of the Table Descriptor, .Name and .Getname() both return the actual field name, how can I get the Caption or displayed name ?


Rajarajeswari S [Syncfusion]
Replied On November 15, 2007 10:12 AM UTC


Thanks for using Syncfusion products.

You can access the display text of the column using the property called HeaderText. Please refer the below code snippet which illustrates this:

Response.Write("Display Name:"+this.GridGroupingControl1.TableDescriptor.Columns[0].HeaderText);

Please refer the sample from the below link which illustrates the above:


Please let me know if this helps you out.



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