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

Delete button in CFGRID

New Here ,
Dec 04, 2008 Dec 04, 2008
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.
367
Translate
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

correct answers 1 Correct answer

New Here , Dec 04, 2008 Dec 04, 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".

Translate
New Here ,
Dec 04, 2008 Dec 04, 2008
LATEST
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".

Translate
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
Resources