Don't forget that Spry supports a spry:if condition, and it knows the
current row. I think the only thing you couldn't do easily would be to
support "closing" the TDs in the final row. (Technically you could do
that with a region observer and the DOM.)

On 5/11/07, mjs @ foureyes. com mjs @ foureyes. com <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Can anyone suggest the best way to achieve multi-column output in Spry, 
> similar to CF like in the following?  Thanks!
>
>
> <table>
> <tr>
> <cfoutput query="q">
> <td>#q.name#</td>
> <cfif q.CurrentRow MOD 4 IS 0>
> </tr>
> <tr>
> </cfif>
> </cfoutput>
> </tr>
> </table>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277844
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to