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. Image for the cookie policy date
close icon

Adding a bar on top of text of column header

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

1 Reply

JJ Jisha Joy Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon