• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cfgrid insert

Guest
Jun 12, 2014 Jun 12, 2014

Copy link to clipboard

Copied

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>  

Views

126

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation