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.

Loader.
Up arrow icon