We're Moving to a New Support Platform – Starting June 1st!
We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.
You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.
While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.
We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.
Thanks for your continued support and trust – we’re excited to bring you an even better support experience!
Hi !
How can I prevent other users from adding or deleting rows in a table?
I want only admins to have this ability. All other users can only edit records.
Imagine something like this in your source code, somewhere in the beginning of delete function:
if (get_current_user_id() != 1 ) exit;
meaning only user with id = 1 can add or delete records.
Hello Nikos
Thank you for your purchase.
At the moment, you can only choose which user roles will be able to interact with the table. Meaning, which roles will be able to add new, edit and delete rows.
You can, however, use this CSS to hide the table's "Add new" and "Delete" buttons from front-end, so they would only be able to edit the rows:
You will also need to hide the "Apply and add new" button in the Edit modal:
You can add this code in between the <style>...</style> tags on the page, before the wpDataTable shortcode.
Hope this helps.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables