Alternate odd/even background color rows for Customing Dump Output
Options
Any suggestion of how to code this with ToDump using ToExpando?
Comments
-
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}
-
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.