That's a known issue, which is fixed in the 7.0.1 updater. The reason,
is because your in a loop (cfoutput query=""). If you just coded 2 grids
it would be fine, but you should upgrade instead.

---nimer


> -----Original Message-----
> From: Snake [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 29, 2005 12:20 PM
> To: CF-Talk
> Subject: Multiple CFGRIDs
> 
> I'm having a play with flash forms today, and using the new Flash
CFGRID.
> Is it not possible to have multiple CFGRIDS on a page, cozz I am
getting
> very strange results.
> Every instance of the cfgrid is repeating the columns again.
> So in instance 1 I get 2 columns "fields,data", in instance 2 I get 4
> columns "fields,data,fields,data" and so on and so on.
> Plus each instance has exactly the same rows of data, which it
shouldn't
> do.
> 
> Here is the code. Each cfgrid has a unique name, so I can't see why
this
> is
> happening.
> 
> <cfoutput query="components" group="componentID">
>                       <fieldset><legend>#component#</legend>
>                       <cfgrid name="C#componentID#" height="150"
> width="100%" format="FLASH"
>                       insert="No" delete="No" sort="Yes" font="Arial"
> bold="No" italic="No"
>                       autowidth="true" appendkey="No"
highlighthref="No"
> enabled="Yes" visible="Yes"
>                       griddataalign="LEFT" gridlines="Yes"
rowheaders="No"
> rowheaderalign="LEFT"
>                       rowheaderitalic="No" rowheaderbold="No"
> colheaders="No" colheaderalign="LEFT"
>                       colheaderitalic="No" colheaderbold="No"
> selectmode="EDIT" picturebar="No">
>                       <cfgridcolumn name="fieldID" headeralign="LEFT"
> dataalign="LEFT" bold="No" italic="No"
>                       select="No" display="No" type="NUMERIC"
> headerbold="No" headeritalic="No">
>                       <cfgridcolumn name="fieldName" header="Field
Name"
> headeralign="LEFT" dataalign="LEFT"
>                       bold="No" italic="No" select="No" display="Yes"
> type="STRING_NOCASE" headerbold="No" headeritalic="No">
>                       <cfgridcolumn name="data" headeralign="LEFT"
> dataalign="LEFT" bold="No" italic="No" select="Yes"
>                       display="Yes" type="NUMERIC" headerbold="No"
> headeritalic="No">
> 
>                       <cfoutput>
>                       <cfgridrow data="#fieldID#,#fieldName#,#data#">
>                       </cfoutput>
>                       </cfgrid>
> 
>                       </fieldset>
> </cfoutput>
> 
> --
> Russ
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:220001
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to