0 Replies Latest reply on Jun 12, 2014 9:05 AM by LisaN

    cfgrid insert

    LisaN Level 1

      I am using CF9 and having the cfgrid to display all name from the table.  I want to be able to insert/update/delete name from the cfgrid but not sure how to do it. Can anyone please help? - Thanks

       

      <cfform>

      <cfgrid

              name="idGrid"

              title="Failure Reasons"

              width="500" rowheaderalign="left"    

              query="variables.qFailedReasons"

              autowidth="false" griddataalign="left" gridlines="yes" colheaderalign="left"

              selectmode="edit"

              insert="yes" insertbutton="Insert New Failure Reason"

              delete="yes" deletebutton="Delete Selected row"

              enabled="yes" visible="yes"

              format="html">

         

            <cfgridcolumn name="failed_id" header="failed_id" display="no"/>

            <cfgridcolumn name="failed_reason"  width ="600" display="yes" header="Failure Reasons" />

          

          </cfgrid>

      </cfform>