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.

To Change Cell Font color and Bold

Thread ID:





54048 Dec 28,2006 07:11 AM Dec 28,2006 11:29 AM Windows Forms 1
Tags: GridControl
Asked On December 28, 2006 07:11 AM


In GridDataBoundGrid,
I want to Change the particular cell
Font Color and make it bold.How to do it.

And Also,

I want to make the border line for the set of records in a grid

records 1 to 5 in one box
records 5 -> 12 in another box

How to do it?

suggest me an idea.



Jayakumar Natarajan [Syncfusion]
Replied On December 28, 2006 11:29 AM

Hi Prakash,
Handle the PrepareViewSytleInfo and set the e.Style.Font for any particluar cell by checking Row and Column indexes.

For setting the BorderLine, you need to set the e.Style.Borders checking the e.RowIndex in the PrepareViewStyleInfo:

KB articles:


http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=25 (For GDBG, you need to do this in PrepareViewStyleInfo)

Best regards,


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.