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.

Changing Column Name

Thread ID:

Created:

Updated:

Platform:

Replies:

22791 Dec 22,2004 06:17 AM Jan 6,2005 06:14 AM Windows Forms 4
loading
Tags: GridControl
Rajesh
Asked On December 22, 2004 06:17 AM

hi, Can any one let me know how to change the Grid Control Column Name can be changed? I dont want it in Databound grid. Thanks and Regards Rajesh

Administrator [Syncfusion]
Replied On December 22, 2004 07:39 AM

In a GridControl, the column headers are row 0. So, to change what you see in the header cell, you can use code like: this.grid[0, someColIndex].Text = "Your header text";

Administrator [Syncfusion]
Replied On December 22, 2004 11:07 PM

Hi Burch ! Thanks Its working ... Rajesh >In a GridControl, the column headers are row 0. So, to change what you see in the header cell, you can use code like: > >this.grid[0, someColIndex].Text = "Your header text"; >

Mrudang Majmudar
Replied On January 6, 2005 05:42 AM

I am doing the same thing this.gridControl1[0,4].Text="TEXT"; it does not work. Using gridcontrol in virtual mode >In a GridControl, the column headers are row 0. So, to change what you see in the header cell, you can use code like: > >this.grid[0, someColIndex].Text = "Your header text"; >

Administrator [Syncfusion]
Replied On January 6, 2005 06:14 AM

In a true virtual grid, you would need to provide the header text in QueryCellInfo based on the value of e.ColIndex when e.RowIndex == 0.

CONFIRMATION

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.

;