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.

Freezing columns and setting header text

Thread ID:

Created:

Updated:

Platform:

Replies:

93122 Feb 24,2010 12:52 PM Feb 26,2010 05:52 AM Windows Forms 3
loading
Tags: GridControl
Mark Donahue
Asked On February 24, 2010 12:52 PM

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?

Jisha Joy [Syncfusion]
Replied On February 25, 2010 03:51 AM

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


Mark Donahue
Replied On February 25, 2010 09:16 AM

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

Jisha Joy [Syncfusion]
Replied On February 26, 2010 05:52 AM

Hi Mark,


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

Regards,
Jisha

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.

;