is there any way I can delete a record in the grid by ticking the record and clicking on a delete button?
how can I achieve that without having to open the record and then delete it?
is there any way I can delete a record in the grid by ticking the record and clicking on a delete button?
how can I achieve that without having to open the record and then delete it?
You can use a editable grid / editable grid view. In the normal grid the records are readonly and can’t (not simple) delete.
[LIST=1]
I usually use a simplified version of method 1. described by Giu, doing everything inside the PHP run button:
I guess it’s not very efficient compute wise, especially if you process many records and the sql server is remote to the http server, but it’s very simple in terms of code and no need to redir to any external app.
Can I include security to those buttons? so I can restrict the button to appear only to administrators? I don’t want everyone to be able to delete records
thanks
You have to control manually
EDIT: Or control wich groups has access to “visit” the application createrd to delete the records.