Is there any way to remove the "New" and "Delete" buttons in the user front-end? I just want them to edit rows. So, it would be necessary as well to remove or disable the "Apply and add new" button in the edit form.
To hide new and delete buttons you can add this CSS on Custom CSS field on wpDataTables settings page or directly on the page between <style></style> tags:
Hi.
Is there any way to remove the "New" and "Delete" buttons in the user front-end? I just want them to edit rows. So, it would be necessary as well to remove or disable the "Apply and add new" button in the edit form.
Thanks in advance.
Hi areaticCV,
Thank you for your purchase.
To hide new and delete buttons you can add this CSS on Custom CSS field on wpDataTables settings page or directly on the page between <style></style> tags:
Every button in editor modal have generated id based on table id. So for button "APPLY AND ADD NEW" you can use css rule:
if the table have id table_1. You have to check throw Inspect element which id is generated.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Dear Milan.
Thanks for your answer. It works fine.
What if I want to show these buttons only in several tables? This would be helpful.
Regards.
Hi areaticCV,
You are welcome.
To hide these buttons on specific table you have to insert code that I provide below between <style></style> tags on page where is that table.
If you have any more issues feel free to open a new ticket, we will gladly help.
We'd greatly appreciate it if you could take a minute and leave a review on CodeCanyon on this link. Thanks!
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Ok. I did it but something were wrong. Now I have tried again and it is okay. We can close the ticket.
Thanks a lot again!