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 modify header text in gridcontrol

Thread ID:

Created:

Updated:

Platform:

Replies:

7281 Sep 18,2003 09:57 AM UTC Sep 18,2003 10:48 AM UTC WinForms 1
loading
Tags: GridControl
Jérôme Le Coutaller
Asked On September 18, 2003 09:57 AM UTC

How can I modify the header text for each column of my gridcontrol (not in databoundgrid) ?

Administrator [Syncfusion]
Replied On September 18, 2003 10:48 AM UTC

Hi jérôme, The header cell text can be can be modified just like any other cell.You get at their styles by indexing the GridControl. Here is the code to set the header text of the Third column. Please note that the rowindex is set to 0 for setting the column header text. GridControl1[0,3].Text = "Header Text 3" Hope that helps. Regards, Stephen.

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.

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

;