解決済み
Alt row color in grouped output
I've always used the following code to alternate row colors
in a table of CFOUTPUT:
<tr bgcolor="#IIf(query.currentRow Mod 2, DE('cfcfcf'), DE('eeeeee'))#">
However, when I use this code in a table with grouped output, I get unpredictable row colors. For example, the first two rows will be color1, the next two color2, then the next few rows will alternate like I want.
I'm attaching the code I'm currently working on.
Any ideas how to get the alt row colors to display properly? Thanks in advance...
<tr bgcolor="#IIf(query.currentRow Mod 2, DE('cfcfcf'), DE('eeeeee'))#">
However, when I use this code in a table with grouped output, I get unpredictable row colors. For example, the first two rows will be color1, the next two color2, then the next few rows will alternate like I want.
I'm attaching the code I'm currently working on.
Any ideas how to get the alt row colors to display properly? Thanks in advance...
