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 do I change the column headers in a GridDataBoundGrid?

Thread ID:





77351 Oct 28,2008 03:08 PM UTC Oct 30,2008 03:39 PM UTC WinForms 2
Tags: GridControl
Asked On October 28, 2008 03:08 PM UTC

How do I change the column headers in a GridDataBoundGrid?


Replied On October 28, 2008 05:10 PM UTC

I can answer my own question.

It seems that when you create a GridDataBoundGrid, you can either explicitly define the columns or you can let the grid do it automatically. To explicitly define the columns, create GridBoundColumn objects and add them to the grid with the GridBoundColumns.Add method. The GridBoundColumn objects have a HeaderText property which lets you change the column header.

As far as I can tell, if you don't explicitly define the columns, the grid will create them automatically. When the grid creates them automatically, you have no control over the column header.


>How do I change the column headers in a GridDataBoundGrid?


Nirmal Raja [Syncfusion]
Replied On October 30, 2008 03:39 PM UTC


Thanks for using Syncfusion products.

Glad that you have found the solution. Let us know if you have further concerns



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