The grid would get populated from an Ajax call. Make sure the
JavaScript in the Web page is correctly calling the CFC on the server.
The ?cfdebug URL parameter helps identify what is going on. If the
Ajax call fails, the result is an empty grid. Make sure you can access
your CFC by entering the URL into the Web browser and that the CFC is
set up to allow for remote access.
-Mike Chabot
On 9/17/07, Eron Cohen <[EMAIL PROTECTED]> wrote:
> I am using ColdFusion 8 and I am running into an odd issue that I can't
> figure out. I have an HTML cfgrid on an HTML CFFORM that is supposed to
> appear in an IFRAME. The thing is that the CFGRID doesn't appear as anything
> but a gray line until I refresh the IFRAME's contents. Then it is fine. I
> don't think there is anything at all unusual about my cfgrid (except that it
> is inside an iframe). The same problem happens in Firefox and Internet
> Explorer. Here is the code for the IFRAME's contents:
>
> <cfgrid
> name = "AGrid"
> format="html"
> font="Tahoma"
> fontsize="12"
> selectmode="edit"
> striperows="yes"
> striperowcolor="##e0e0e0"
> bind="cfc:act_getCustomer.getCustomerCallLog({cfgridpage},
> {cfgridpagesize},
> {cfgridsortcolumn},
> {cfgridsortdirection})"
> onchange="cfc:act_getCustomer.updateCallLog({cfgridaction},
> {cfgridrow},
> {cfgridchanged})">
>
> <!--- cfgridcolumn tags arrange the table and control the display. --->
> <!--- Hide the primary key, required for update --->
> <cfgridcolumn name = "ID" display = "No" >
> <cfgridcolumn name = "CLIENTID" display = "No">
> <cfgridcolumn name = "date__happened" header = "Date"
> Select="No"
> width="140" textcolor="Black" bold="Yes">
> <cfgridcolumn name = "type_of_call" header = "Status"
> Select="No"
> width="96" >
> <cfgridcolumn name = "Comments" header = "Comments"
> Select="Yes"
> width="275" textcolor="black" bold="no"
> dataalign="left" >
> <cfgridcolumn name = "contact_Name" header = "Contact"
> Select="No"
> width="65">
> <cfgridcolumn name = "contact_made_by" header = "By"
> Select="No"
> width="65">
> <cfgridcolumn name = "category" header = "Category" Select="No"
> width="65" >
>
> </cfgrid>
>
> Thank you for any ideas
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288651
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4