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
60
CSS background color not being applied
posted

In the InitializeRow event handler I am assigning one of four custom CSS class to the row based on each of four possible values in a particular cell.  A different background color and font style are specified in each class (i.e. red and strike-through, green and italic, white and normal, yellow and bold).  The font is being changed for the cells in the row, but the background color is not.  These CSS classes worked perfectly (background color and font styling, both) when I apply them to a static HTML table, but not to the WebDataGrid (only font styling).  Does anybody have a clue why, or what I can do to make the background color work in the grid?

Parents Reply Children
No Data