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.
How to change the row color based on some field.
for example, when i have the row with the deleted field status true, i have to show that row in red color. Is it possible in GridDataboundGrid?
Can you help on this?
thanks
M. Rabeek
ADAdministrator Syncfusion Team July 20, 2004 12:56 PM UTC
You have to handle PrepareviewStyleInfo to do this. Here is a KB link that discusses this.
http://www.syncfusion.com/Support/article.aspx?id=561
Instead of just setting it when e.RowIndex == 8 as in the KB sample code, you would test your value at that point, and conditionally set the color depending upon the value.