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?
ADAdministrator Syncfusion Team July 20, 2004 08:56 AM
You have to handle PrepareviewStyleInfo to do this. Here is a KB link that discusses this.
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.