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.

GridControl Column title

Thread ID:

Created:

Updated:

Platform:

Replies:

54726 Jan 16,2007 09:59 AM Jan 18,2007 03:42 AM Windows Forms 4
loading
Tags: GridControl
Ryan Hardoon
Asked On January 16, 2007 09:59 AM

Hi
I am really new at this and am trying to evaluate the GridControl. I couldnt seem to find where I set the column Title. instead of A B C. I see that the GridDataBoundGrid allows it... Am I missing out on something. Isnt the GridControl supposed to be an expansion on the Visual Studio 2005 DataGridView...

Administrator [Syncfusion]
Replied On January 16, 2007 10:41 AM

Hi Ryan,

Please refer to the following forum thread for more details.
http://www.syncfusion.com/support/Forums/message.aspx?MessageID=18450

Best Regards,
Haneef

Ryan Hardoon
Replied On January 17, 2007 02:06 AM

Hi Haneef
Thanks for your fast response. I wrote the code required and it does work... However I was wondering why the only way of setting the title is by actually writing code. Why cant I do it in the designer itself.
Thanks.

>Hi Ryan,

Please refer to the following forum thread for more details.
http://www.syncfusion.com/support/Forums/message.aspx?MessageID=18450

Best Regards,
Haneef

Administrator [Syncfusion]
Replied On January 17, 2007 04:41 AM

You can set it in the designer as well. Choose the Edit verb or smarttag to bring up the interactive grid designer. Then click on the column header you want to set. If the whole column gets selected at this point, then in the Grid properties, turn off the Column flag in the AllowSelection property. (This flag is on by default.) Then re-click the column header to get rid of the column selection so only the header is clicked. (After setting the header texts, you can reset the Column flag if you want it on.)

Once the header is the only cell clicked, then on the SelectedRange tab, set the Text property for the cell.

Administrator [Syncfusion]
Replied On January 18, 2007 03:42 AM

Hi Clay
Gee thanks... Yes it work.... I really cant understand why it is so unintuitive however at least I see the solution...
Thanks.

>You can set it in the designer as well. Choose the Edit verb or smarttag to bring up the interactive grid designer. Then click on the column header you want to set. If the whole column gets selected at this point, then in the Grid properties, turn off the Column flag in the AllowSelection property. (This flag is on by default.) Then re-click the column header to get rid of the column selection so only the header is clicked. (After setting the header texts, you can reset the Column flag if you want it on.)

Once the header is the only cell clicked, then on the SelectedRange tab, set the Text property for the cell.

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.

;