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:

Created:

Updated:

Platform:

Replies:

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

hi,

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
[e.g]

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

How to do it?

suggest me an idea.

thanks,

Prakash


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=83

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

Best regards,
Jay

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.

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.

;