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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding a bar on top of text of column header

Thread ID:





84292 Jun 30,2009 06:13 AM UTC Jul 1,2009 06:56 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On June 30, 2009 06:13 AM UTC


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 06:56 AM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon