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 : Nov 16th 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:

Created:

Updated:

Platform:

Replies:

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

Hi

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 ??

thanks
Natasha

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:

http://files.syncfusion.com/support/Grid.Windows/F84292.zip

Please let me know if this helps.

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.

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

;