- see footer for list info -<
Snake wrote:

- see footer for list info -<
I'm having a play with flash forms today, and using the new Flash CFGRID.
Is it meant to be posisble 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
"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.
<fieldset> <legend> aren't valid tags in a flash cfform, so they won't be helping matters. You need to use:
<cfformitem type="text">#component#</cformitem> instead of legend.


But did you mean to be looping the entire query again inside a loop of the grouped query?

           <cfloop query="components">
               <cfif componentID EQ currentcomponent>
                   <cfgridrow data="#fieldID#,#fieldName#,#data#">
               </cfif>
           </cfloop>

You possibly just want :
<cfoutput>
   <cfgridrow data="#fieldID#,#fieldName#,#data#">
</cfoutput>

to get the items for that component.

Stephen

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to