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.

Adding a bar on top of text of column header

Thread ID:





84292 Jun 30,2009 02:13 AM Jul 1,2009 02:56 AM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On June 30, 2009 02:13 AM


My requirement is to create a text in run time as column/row header in grid such that it has a bar on top of it. For example if we have a boolean value 'A' then to denote its inverse we can write it as 'Ā' . This i have copied from charmap application in windows. But how can i write it in code ??


Jisha Joy [Syncfusion]
Replied On July 1, 2009 02:56 AM

Hi Natasha,

You could specify the required character in the text property of the grid cell. See the code:

this.gridControl1[0, 1].Text = "A";// column header cell
this.gridControl1[0,2].Text = "Ā"; // column header cell

See the sample:


Please let me know if this helps.



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.