Hi,

I have a DataGrid with different odd/even row colors.

.dataGridEvenRow { background: white !important; }
.dataGridEvenRowCell { border: selectionBorderWidth solid white !important; 
}
.dataGridOddRow { background: red !important; }
.dataGridOddRowCell { border: selectionBorderWidth solid red !important; }

For selecting any entry, I want the color of these odd/even rows to remain. 
But instead, when using inherit as follows, the background of the whole 
cell is changed to "white".

/* Here something must be wrong */
.dataGridSelectedRow {
  background: inherit !important;
  color: inherit !important;
}

/* This works */
.dataGridSelectedRowCell {
  border: selectionBorderWidth solid inherit !important;
}

 The border inherits the border color from odd/even rows as expected. Only 
the inner background does not work. Why?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to