Skip to main content
Participant
March 20, 2019
Question

How to add Delete button for every row in Datagrid?

  • March 20, 2019
  • 1 reply
  • 514 views

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]

    This topic has been closed for replies.

    1 reply

    WolfShade
    Legend
    March 20, 2019

    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,

    ^ _ ^

    Participant
    March 20, 2019

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