This content has been marked as final. Show 5 replies
I loop throught td's and when i get my 3 count i end off with a tr and start a new tr
Unfortunately your solution doesn't satisfy me 100%ly. I think I would need something like a loop in a loop:
But this looks like a mess! The first loop should 'appear' 3 times because I want three DIVs being displayed on my HTML page. And then per DIV an 'equal' list of records. Assuming my query contains 9 records so there is 3 per DIV. If there is p.e. 11 records I would like to have
4 records in the first DIV
4 records in the second DIV
3 records in the third DIV
Thanks for hints
My recommendation is that if ever you have a problem, try googling for an
answer: that's usually the quickest way of finding a solution. I found a
bunch of answers googling "coldfusion output columns".
The second match covers the basics of your requirement, and you just need
to extrapolate slightly from there to get your answer. And a few of the
others on the first page of results also cover the same (well-trod) ground.
Hint: you need to two two different actions, one on every third row, and
one on every ninth row.
I found a solution which works fine - unfortunately I don't really understand it :-)
Thank you for your inputs!
> I found a solution which works fine - unfortunately I don't really understand
> it :-)
What about it don't you understand? Wanna do something about understanding