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. Image for the cookie policy date

How to modify header text in gridcontrol

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

1 Reply

AD Administrator Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon