it's possible disable new or delete records, and enable only edit records from php api?
This example here shows the PHP script where preRemove returns false, meaning it doesn't happen. Likewise, there's a preCreate. You could have that on the back-end, and in the front-end just don't displayed the create and delete buttons.
Thanks for the reply,
but, I would need to do it from the Backend (php), as you could still make a post via an http request by passing the frontend.
I forgot to add the link in my previous reply, apologies for that - this is it here: https://editor.datatables.net/examples/api/softDelete.html
The events I'm referring to are backend events - if you look at the "Server script" tab below the table, you'll see the code there.
ok it's okay,
very very thanks!
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.