Converting CFGRID from Flash to HTML in Coldfusion

Order History in Flash and HTMLHi,
  I have CFGird using Flash format, but IE and Chrome browsers fail to display it. Firefox used to be the only browser to display it, but even the most recent version of Firefox fails to display it.
 So I had no choice but to change it to HTML format.
 However  My new code generates an error.
 Can you help?

Thanks.

*** OLD CODE ***
<cfform name="frmtest" skin="HaloBlue" timeout="120">
    <cfgrid name="gridtest"
        height="400" width="700"
        selectMode="row"
            sort = "yes"
        format="flash"
        rowHeaders="no"
            query = "GetOrderHistory"
        onChange = "getURL('OrderHistoryDetails.cfm?cfgridkey='+gridtest.selectedItem.ID)">

        <cfgridcolumn name="OrderDate" header="Order Date">
        <cfgridcolumn name="ID" header="Order No" width="60">
               <CFGRIDCOLUMN NAME="CustomerNo" DATAALIGN="LEFT"  HEADER="Cust##" width="60">
               <CFGRIDCOLUMN NAME="ShipTo1" DATAALIGN="LEFT"  HEADER="Ship To" width="150">
        <cfgridcolumn name="PONo" header="PONo">
        <cfgridcolumn name="Processor" header="Processor">
     </cfgrid>
</cfform>

**** NEW CODE ****
<cfform action = "#CGI.SCRIPT_NAME#">
    <cfgrid name = "FirstGrid" width = "800"
            query = "GetOrderHistory" colheaderbold="Yes"
            font = "Tahoma" rowHeaders = "No"
            selectColor = "Red" selectMode = "Edit" Format = "HTML">

        <cfgridcolumn name = "ID" header="ID" Select="No" display = "Yes" width=5>
        <cfgridcolumn name = "CustomerNo" header = "Customer No" Select="No" width="75" textcolor="blue"
                      bold="Yes" href="OrderHistoryDetails.cfm" hrefkey="ID">
               <CFGRIDCOLUMN NAME="OrderDate" DATAALIGN="LEFT"  HEADER="Order Date" mask="m-d-y" width="100">
        <cfgridcolumn name="ShipTo1" header="ShipTo1" width=70>
        <cfgridcolumn name="PONo" header="PONo" width=30>
        <cfgridcolumn name="Processor" header="Processor">          
    </cfgrid>
    <br>
    <cfinput type="submit" name="gridEntered">
</cfform>
LVL 1
sgleeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

_agx_Commented:
Yeah, a lot of browsers are dropping Flash support.

Which version of CF are you running? AFAIK, format="HTML" has been supported since CF8.  Unless you're using a really old version it should work.  The above displays correctly with CF11 and FF40:

<cfset GetOrderHistory = queryNew("ID,CustomerNo,OrderDate,ShipTo1,PONo,Processor")>
<cfset queryAddRow(GetOrderHistory, 1)>
<cfloop list="#GetOrderHistory.columnList#" index="col">
   <cfset GetOrderHistory[col][1] = col &" "& 1>
</cfloop>

<cfform action = "#CGI.SCRIPT_NAME#">
    <cfgrid name = "FirstGrid" width = "800"
            query = "GetOrderHistory" colheaderbold="Yes"
            font = "Tahoma" rowHeaders = "No"
            selectColor = "Red" selectMode = "Edit" Format = "html">

        <cfgridcolumn name = "ID" header="ID" Select="No" display = "Yes" width=5>
        <cfgridcolumn name = "CustomerNo" header = "Customer No" Select="No" width="75" textcolor="blue"
                      bold="Yes" href="OrderHistoryDetails.cfm" hrefkey="ID">
               <CFGRIDCOLUMN NAME="OrderDate" DATAALIGN="LEFT"  HEADER="Order Date" mask="m-d-y" width="100">
        <cfgridcolumn name="ShipTo1" header="ShipTo1" width=70>
        <cfgridcolumn name="PONo" header="PONo" width=30>
        <cfgridcolumn name="Processor" header="Processor">  			
	</cfgrid>
    <cfinput type="submit" name="gridEntered">
</cfform> 

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.