I went with;

<table width="525" cellpadding="0" cellspacing="0">
        <cfoutput query="getsrc" group="CAT_ID"> 
        <cfif Getsrc.CAT_ID mod 3 eq 1>
                        <tr>
                </cfif>
                                <td width="175" valign="top"
class="SiteStyle"><strong><a href="##">#CAT_DESC#</a></strong><Br>
<cfoutput>#INV_Title#</cfoutput></td>
                                                
<cfif Getsrc.currentrow mod 3 eq 0>
                                                </tr>
                                                </cfif>
                                                </cfoutput>
Seems to be working...  

thanks

-----Original Message-----
From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] 
Sent: 17 May 2005 14:02
To: CF-Talk
Subject: RE: Grouped Multicolum cfoutput

Would something like this work?

<table>
<tr>
<cfoutput query="myQuery" group="columnid">
        <td valign="top">
                <h3>#columnName#</h3>
                <cfoutput group="categoryId">
                        <b>#categoryname#</b>
                        <ul>
                        <Cfoutput group="productID">
                                <li>#productName#
                        </cfoutput>
                        </ul>
                </cfoutput>
        </td>
</cfoutput>
</tr>
</table>
 

-----Original Message-----
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 17, 2005 8:45 AM
To: CF-Talk
Subject: Grouped Multicolum cfoutput

Hi,

Can anyone help me, I am using grouped cfoutputs to display category and
product information,which i can do no problem in one column.  I have
also somewhere else in the site used 3 column output using the cfif tag.

How do I comine the two, i.e I want;

Column 1                Column 2                    Column 3
Category 1              Category 2                  Category 3
  Product                 Product                     Product
  Product                 Product                     Product
Category 4              Category 5                  Category 6
  Product                 Product                     Product

Many thanks,

Mark Stephenson





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206849
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to