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.

Cell Text Color DataBound Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

9578 Dec 29,2003 03:07 PM Dec 29,2003 03:53 PM Windows Forms 1
loading
Tags: GridControl
Bidin Dinesababu
Asked On December 29, 2003 03:07 PM

Hi, I am trying to set the text color of a particular cell in a databound grid. I use this[row,Col].TextColor = Color.Red; This is not working with the custom grid derived from DataBoundGrid. I am setting the cell color along when I am populating the DataTable which is the datasource for the grid. It is within BeginUpdate() and EndUpdate() Calls.. If anyone knows the reason, please update me.. THanks Bidin

Administrator [Syncfusion]
Replied On December 29, 2003 03:53 PM

Here is a KB article explaining that you need to use PrepareViewStyleInfo to set individual cell properties (other than Text) in a GridDataBoundGrid. http://www.syncfusion.com/Support/article.aspx?id=560

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.

;