0

I am trying to add alternating row colors in a dynamicViewControl. I found this article by Mark Hughes http://dominoextnd.blogspot.com/2009/10/xpages-alternate-view-row-colors-made.html but when I try to enter rowEven, rowOdd in the rowClasses I get an error message about invalid character (comma) I have tried all sorts of different ways without success. What am I doing wrong. I have seen it in the examples, but I cannot reproduce that

Jim M
  • 177
  • 1
  • 15

2 Answers2

4

You can try to use css:

.someClass tr:nth-child(even) {
    background-color: yellow;
}
W_K
  • 868
  • 4
  • 9
0

Naveen's solution worked fine. I just need to get more in the habit of working in the source code rather than the GUI for alot of things. Thanks!

Jim M
  • 177
  • 1
  • 15