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
495
Dynamically change a row's background color
posted

Hi,

I've got a WebDataGrid (v12.2), and I need to alternately change the background color on specific rows based on data that may be in one of the cells after the data is bound to the grid.  I think I need to do this in the InitializeRow event of the grid, as some other formatting I've been able to apply to columns works great in there, but I haven't been able to come up with the right combination on the row end of things.

Any help would be appreciated!

For bonus points, if anybody knows how to highlight an entire row when the mouse is hovering over it, that would be great too.

thanks,
Jeff Balcerzak