Skip to main content
Participant
December 4, 2008
Answered

Delete button in CFGRID

  • December 4, 2008
  • 1 reply
  • 391 views
I am attempting to use the CFGRID tag on a ColdFusion 8 Server. I have set the format attribute to HTML and have it binding to a cfc. I have set the onChange attribute to a cfc method. SelectMode is set to edit and the Delete attribute is set to yes.

The data grid does allow me to edit the records and successfully updates. The issue is that I can not delete rows. I don't see a delete button at all. I feel like I am missing something very simple.

Any help would be most appreciated. Thanks.
    This topic has been closed for replies.
    Correct answer R_a_n_d_y
    I got it.

    Because I was only displaying two columns, the grid was not wide enough to display the DELETE button.

    I fixed it by adding the attribute WIDTH="350" and then also added the attribute AUTOWIDTH="yes".

    1 reply

    R_a_n_d_yAuthorCorrect answer
    Participant
    December 4, 2008
    I got it.

    Because I was only displaying two columns, the grid was not wide enough to display the DELETE button.

    I fixed it by adding the attribute WIDTH="350" and then also added the attribute AUTOWIDTH="yes".