Skip to main content
Participant
January 24, 2011
Question

cfgrid bug? format="html" doesn't pass values

  • January 24, 2011
  • 1 reply
  • 782 views

Using the example found at (http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7acf.html) when format="html" is added to the cfgrid tag the values passed are  lost.  Is there a workaround for this problem?  This problem occurs with more complex data, for simplicity sake the following code was used:

<cfquery name="empdata" datasource="cfdocexamples"> 
    SELECT * FROM Employee
</cfquery>

<cfform name="GridForm"
    action="handle_grid.cfm">

    <cfgrid name="employee_grid"
        height=425
        width=300
        vspace=10
        selectmode="edit"
        query="empdata"
        insert="Yes"
        delete="Yes">
        
        <cfgridcolumn name="Emp_ID"
            header="Emp ID"
            width=50
            headeralign="center"
            headerbold="Yes"
            select="No">

        <cfgridcolumn name="LastName"
            header="Last Name"
            width=100
            headeralign="center"
            headerbold="Yes">

        <cfgridcolumn name="Dept_ID"
            header="Dept"
            width=35
            headeralign="center"
            headerbold="Yes">

    </cfgrid>
    <br>
    <cfinput name="submitit" type="Submit" value="Submit">

</cfform>
    This topic has been closed for replies.

    1 reply

    Participant
    August 8, 2012

    I have been bitten by this same bug when I upgraded from CF9 to CF10, using Windows 7 and Firefox 14.0.1.  My work around has been to change from format="html" to format="flash".  I would like to see this bug fixed.  Mallory Green, 828 448-9756