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
close icon

Freezing columns and setting header text

I cannot seem to find a grid control in the suite that allows me to enable column freezing and gives me the ability to change the text in header.

It seems that GridControl is the only control that allows for Column Freezing and that control gives no method for changing the Header text. I am stuck with "A, B, C, ...".

Am I missing something?

3 Replies

JJ Jisha Joy Syncfusion Team February 25, 2010 08:51 AM UTC

Hi Mark,

You could use the following code to change the column header text in GridControl.

//For the first column
this.gridControl1[0, 1].Text = "MyText";

//For the second column
this.gridControl1[0, 2].Text = "MyText";

//For the third column

this.gridControl1[0, 3].Text = "MyText";

Regards,
Jisha



MD Mark Donahue February 25, 2010 02:16 PM UTC

Do any of the grid controls that support data binding support column editing and column freezing?


JJ Jisha Joy Syncfusion Team February 26, 2010 10:52 AM UTC

Hi Mark,


Yes. You could use GridGroupingControl for this. You could refer the browser samples for the same.

Regards,
Jisha

Loader.
Live Chat Icon For mobile
Up arrow icon