CellTable: how to disable any background changes on selection?

11 views
Skip to first unread message

membersound

unread,
Feb 15, 2013, 12:04:59 PM2/15/13
to google-we...@googlegroups.com
Hi,
how can I have different odd/even rows for a CellTable, and prevent background changes on any selections (mouse or keyboard)?

.cellTableEvenRow, .cellTableEvenRowCell: white
.cellTableOddRow, .cellTableOddRowCell: red


When enabling keyboard selection, I want the color to NOT change, only the border.

.cellTableKeyboardSelectedRowCell {
  border: selectionBorderWidth solid inherit;
}
.cellTableSelectedRow {  <--I assume this is the important one?
  background: inherit;
  color: inherit;
}
.cellTableSelectedRowCell {
  border: selectionBorderWidth solid inherit;
}

Result: The red odd rows get white background on selection. Why? How can I prevent this?
Reply all
Reply to author
Forward
0 new messages