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 can we edit Column name in GridGroupingControl

Thread ID:





82527 Jun 24,2008 12:38 AM Mar 5,2009 09:28 PM ASP.NET Web Forms (Classic) 5
Tags: GridGroupingControl
Kallyani Lanje
Asked On June 24, 2008 12:38 AM


How can we edit Column name or Header in the GridGroupingControl.

Kindly give your tips or examples

Thank you

Administrator [Syncfusion]
Replied On June 24, 2008 10:46 AM

Hi Kallyani,

If you are binding a System.DataTable to the GridGroupingControl in code, such as ...

this.GridGroupingControl1.DataSource = myDataTable;

I have found that it is much easier to first change the column names in the DataTable, such as ...

int i = 0;
foreach (DataColumn col in myDataTable.Columns)
i ++;
col.ColumnName = "Column Number " + i;

If you are not binding to a DataTable at runtime, this solution will not work. In that case, I defer to someone else because I have never changed the GridGroupingControl column names after DataBind().

Rajarajeswari S [Syncfusion]
Replied On June 28, 2008 02:00 PM

Hi Kallyani,

Thanks for using Syncfusion products.

The HeaderText property is used to set desired text to the ColumnHeader. Please refer the below code snippet which illustrates this:

this.GridGroupingControl1.TableDescriptor.Columns[0].HeaderText = "ID";

Please refer the sample from the below link, which illustartes this:


Please let me know if you have any other concerns.


Kallyani Lanje
Replied On July 4, 2008 06:11 AM

Can we make column header editable on double
click.means when we double click on column header i want to display column header in editable mode i.e.user should be able to edit header text and save the changes on button click.


Rajarajeswari S [Syncfusion]
Replied On July 7, 2008 02:57 AM

Hi Kalyani,

Thanks for you patience.

Editing ColumnHeaders:

I regret to let you know that currently we do not provide support for this feature in our code library. We have notified our development team on this regard and will get back to you once we hear back from them.


Replied On March 5, 2009 09:28 PM



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.