Warning, only tested on Firefox, but try something like this:

<div id="xmlData" spry:region="xmlData" style="display:table">
  <div style="display:table-row;">
    <span spry:repeat="xmlData" spry:choose="spry:choose">
      <div style="float:left;" spry:when="{ds_RowID} % 4 != 0;">
        {ds_RowID}
      </div>
      <div spry:default="spry:default" style="float:left;clear:left;">
        <strong>{ds_RowID}</strong>
      </div>
    </span>
  </div>
</div>

Matt Osbun
http://www.pteradactylcry.com

> 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 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277793
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