Skip to main content
Participating Frequently
August 17, 2009
Question

CFGRID not working

  • August 17, 2009
  • 2 replies
  • 578 views

I've just installed CF MX8 on a new server and now my CFGRID's do not work.  Any ideas why?  I get no errors in the IE7 Browser, nothing...   The CF code hasn't changed so I'm thinking that the problem is on the server but I'm not sure where to start.

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    August 17, 2009

    c/p this code and run it on your server:

    <!--- Create a new three-column query, specifying the column data types --->
    <cfset myQuery = QueryNew("Name, Time, Advanced", "VarChar, Time, Bit")>
    <!--- Make two rows in the query --->
    <cfset newRow = QueryAddRow(MyQuery, 2)>
    <!--- Set the values of the cells in the query --->
    <cfset temp = QuerySetCell(myQuery, "Name", "The Wonderful World of CMFL", 1)>
    <cfset temp = QuerySetCell(myQuery, "Time", "9:15 AM", 1)>
    <cfset temp = QuerySetCell(myQuery, "Advanced", False, 1)>
    <cfset temp = QuerySetCell(myQuery, "Name", "CFCs for Enterprise
    Applications", 2)>
    <cfset temp = QuerySetCell(myQuery, "Time", "12:15 PM", 2)>
    <cfset temp = QuerySetCell(myQuery, "Advanced", True, 2)>

    <cfform>
    <cfgrid name = "FirstGrid" format="HTML" height="320" width="300" query = "myquery" />
    </cfform>

    Participating Frequently
    August 17, 2009

    1. Have you tried to run it on a different browser?

    2. From what version did you upgrade to?

    3. can you cut/paste your cfgrid lines?

    Melvin T.