How to add Delete button for every row in Datagrid?

Community Beginner ,
Mar 19, 2019 Mar 19, 2019

Copy link to clipboard

Copied

I have a datagrid which shows data for the columns named username, role, gender, emailid, password. I want to add a delete button to every row in datagrid so that when it is clicked only that entry gets deleted from database.[Using COLD FUSION]

Views

307

Likes

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
LEGEND ,
Mar 20, 2019 Mar 20, 2019

Copy link to clipboard

Copied

WHY would you include a field for password, in this datagrid???  Pw should be eliminated, using a different form for editing the password, just as a security measure.  Putting everyone's password into one page is not a good idea, as even if they are displayed in a password input, all one has to do is View Source to see all of them.

As far as your question, I've never worked with datagrids as CF UI is outdated and should not be used.

V/r,

^ _ ^

Likes

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
Community Beginner ,
Mar 20, 2019 Mar 20, 2019

Copy link to clipboard

Copied

LATEST

Password was encrypted...I know ColdFusion was outdated but I should use CF Tech

Likes

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