3 Replies Latest reply on Mar 19, 2013 11:21 AM by Elwood123Bermuda

    CFGRID issue

    Elwood123Bermuda

      I have a simple grid with Cold Fusion 9.0.2

       

      <cfquery datasource="db" name="q1">

                Select 'a', 0

                union

                Select 'b', 0

                union

                Select 'c', 0

                union

                Select 'd', 0

                union

                Select 'e', 0

                union

                Select 'f', 0

        </cfquery>

       

      <cfform name="formgrid" action="customersku_submit.cfm">

          <cfgrid name = "gridname" format="html"

              selectmode="edit"

              font="Tahoma" fontsize="12"

              query = "q1">

          </cfgrid>

       

          <cfinput type = "submit" name = "submit" value = "Submit">

      </cfform>

       

       

      If I click the number value for a and enter 1 and then click to the number value on field f and press submit it returns the value I changed not as the a but as the f.

       

      structFIELDNAMESSUBMIT,__CFGRID__FORMGRID__GRIDNAMEGRIDNAME.COMPUTED_COLUMN_1

      array
      1f

      GRIDNAME.COMPUTED_COLUMN_2

      array
      11

      GRIDNAME.ORIGINAL.COMPUTED_COLUMN_1

      array
      1f

      GRIDNAME.ORIGINAL.COMPUTED_COLUMN_2

      array
      10

      GRIDNAME.ROWSTATUS.ACTION

      array
      1U

      SUBMITSubmit__CFGRID__FORMGRID__GRIDNAME__CFGRID__EDIT__=2 COMPUTED_COLUMN_1 Y COMPUTED_COLUMN_2 Y 1 U f f 1 0