The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator 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