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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cell Text Color DataBound Grid

Thread ID:





9578 Dec 29,2003 08:07 PM UTC Dec 29,2003 08:53 PM UTC WinForms 1
Tags: GridControl
Bidin Dinesababu
Asked On December 29, 2003 08:07 PM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon