Alternate odd/even background color rows for Customing Dump Output

Any suggestion of how to code this with ToDump using ToExpando?

Comments

  • edited April 11
    There's an easier way: go to Edit | Preferences | Results > Style Sheet = custom, and add the following customizations:
    tr:nth-child(even) {background:#f2f8ff}
    tr:nth-child(odd) {background:#fff}
  • edited April 11
    Or if you just want to activate this with specific queries:
    Util.RawHtml ("<style>tr:nth-child(even) {background:#f2f8ff}</style><style>tr:nth-child(odd) {background:#fff}</style>").Dump();
    ...
    ...dump your queries...
  • I test with first solution. It works! Thank you.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!