Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
change row color based on a statement
posted

All,

 Is it possible to highlight / change a row color based on a statement? for example, i have 5 rows, 2 of those rows have the value 3 in a column, how do i go about changing that row color?and is it possible to do it with infragistics without overloading paint method used in other approaches to this in none-infragistics methods.

 Thanks

  • 469350
    Offline posted

     The best way to do this is to use the InializeRow event of the grid. You can examine the row passed in to the event and set the row.Appearance to whatever appearance you like.