Skip to main content
June 12, 2014
Question

cfgrid insert

  • June 12, 2014
  • 0 replies
  • 152 views

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>  

    This topic has been closed for replies.