1 Reply Latest reply: Aug 8, 2012 3:53 AM by Mallory1950 RSS

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

    UserCF9

      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>