I'm using wpDataTables to generate an editable table in a custom plugin page. The table loads and looks styled correctly, but the modal for editing is loading below the table, and doesn't close when you hit the 'cancel' button. The modal is working in the table editor however. I'm attaching 2 screenshots - my plugin, and the table editor. I'm guessing some CSS isn't loading in the admin.
We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.
You can use function wdtOutputTable which is Helper func that prints out the table in backend. Also you have to include all modals(delete, close and edit modal template)
<!-- Helper func that prints out the table where 1 is id of the table-->
<?php wdtOutputTable('1'); ?>
<!-- Close modal -->
<?php include WDT_TEMPLATE_PATH . 'admin/common/close_modal.inc.php'; ?-->
<!-- Close modal -->
<!-- Delete modal -->
<!--?php include WDT_TEMPLATE_PATH . 'common/delete_modal.inc.php'; ?-->
<!-- /Delete modal -->
<!-- Edit modal -->
<!--?php include WDT_TEMPLATE_PATH . 'frontend/modal.inc.php'; ?-->
Thank you - this worked perfectly! I wrapped it up in a shortcode in my own plugin, and its being rendered in a twig template in the wordpress admin now.
Great support - I appreciate the fast and helpful response!
You are welcome.
Glad that we help you to solve the issue.
If you have any more issues or questions feel free to open a new ticket, we will gladly help.
If you are satisfied with our plugin and support, we'd greatly appreciate it if you could take a minute and leave a Review on CodeCanyon on this link. It means to us.Thanks!
Hello,
I'm using wpDataTables to generate an editable table in a custom plugin page. The table loads and looks styled correctly, but the modal for editing is loading below the table, and doesn't close when you hit the 'cancel' button. The modal is working in the table editor however. I'm attaching 2 screenshots - my plugin, and the table editor. I'm guessing some CSS isn't loading in the admin.
Hi PCCLibrary_DST,
Thank you for your purchase.
Sorry for late response.
We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.
You can use function wdtOutputTable which is Helper func that prints out the table in backend. Also you have to include all modals(delete, close and edit modal template)
Best regards.
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
Thank you - this worked perfectly! I wrapped it up in a shortcode in my own plugin, and its being rendered in a twig template in the wordpress admin now.
Great support - I appreciate the fast and helpful response!
Hi PCCLibrary_DST,
You are welcome. Glad that we help you to solve the issue.
If you have any more issues or questions feel free to open a new ticket, we will gladly help.
If you are satisfied with our plugin and support, we'd greatly appreciate it if you could take a minute and leave a Review on CodeCanyon on this link. It means to us.Thanks!
Best regards.
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