Ok - this is my first time using the Ajax functions in CF9...
I am attempting to use cfgrid - using demo files from Lynda.com example - which
uses the default/example DB that ships with Coldfusion (ArtGallery) Code as
follows:
<cfsilent>
<cfquery datasource="cfartgallery" name="rsArt">
SELECT
Art.*
, Artists.FirstName || ' ' || Artists.LastName AS ArtistName
FROM
Art
INNER JOIN Artists ON Art.ArtistID = Artists.ArtistID
</cfquery>
</cfsilent>
<html>
<head></head>
<body>
<cfform>
<cfgrid
name="basicGrid"
query="rsArt"
format="html"
href="detail.cfm"
hrefkey="ArtID"
autowidth="true"
striperows="true"
title="Art Pieces"
collapsible="true"
groupfield="ArtistName"
>
<cfgridcolumn name="ArtID" header="Art ID"
display="false" />
<cfgridcolumn name="ArtistID" header="Artist ID"
display="false" />
<cfgridcolumn name="ArtistName" header="Artist Name" />
<cfgridcolumn name="ArtName" header="Art Name" />
<cfgridcolumn name="Price" header="Price" />
<cfgridcolumn name="IsSold" header="Sold" />
</cfgrid>
</cfform>
</body>
</html>
The demo and files work fine on my local "developer" instance but I cannot get
it to work on the production server.
It throws up a Javascript error (in IE)
'isColumn' is null or not an object
ext-all.js
Dev Site is here:
http://www.bigfatdev.com/Ajax_test/Chapter5/finished/cfgrid.cfm
I placed the CFIDE directory from my local CF9 in the root of the website on
the production server. Some of the Ajax functions work - but others not at
all. (Like - this file works if Format="Flash" but not others...)
Thoughts? I am thinking it is a newbie mistake - but I don't know what....
Thanks for the help!
- Nick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5301
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm