Cell Text Color DataBound Grid

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

1 Reply

AD Administrator Syncfusion Team December 29, 2003 08:53 PM UTC

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

Loader.
Up arrow icon