As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
Can you tell me, what the name of the OK button is on the editform?
I want to force a page reload on clicking on this button.
Thank you for your help!
Tim
Hello Tim.
The ID of the table is mixed with the tableDescription.selector, so it's:
In wp-content/plugins/wpdatatables/assets/js/wpdatatables/wpdatatables.js file.
The class of the button is "wdt-ok-edit-button".
I hope that 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
Thanks Aleksandar,
Can i call this event in the CSS of one particular Table?
Kind regards,
Tim
Hi again Tim
There's custom CSS section under "Customize" tab above every table (except for Simple tables), so you could include your custom CSS there, and it would apply only to that table.
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
Hi Aleksandar,
If i put it in the custom CSS Section, the script would be...
onclick(.wdt-ok-edit-button){
window.location.reload();
}
or ...
.wdt-ok-edit-button.onclick
{
window.location.reload();
}
But that doesn't work, can you please give me another small hint??
Thanks for your help!!
Tim
Hello again Tim.
The custom JS can't go in the custom CSS field - it simply won't work.
If you're adding custom JS, it needs to be applied either in wpDataTables settings/Custom JS and CSS/Custom JS section, or on the page.
If you need help with adding custom JS to the page, please take a look at this article.
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
Hi Aleksandar,
Thanks again for all your help.
Last question, if i change wpdatatables.js like this;
$(document).on('click', tableDescription.selector + '_ok_edit_dialog', function (e) {
e.preventDefault();
e.stopImmediatePropagation();
e.preventDefault();
wpDataTablesFunctions[tableDescription.tableId].saveTableData(true, true);
/**
*/
location.reload(true);
});
That should do the job, or do i still not understand?? :-)
with kind regards,
Tim
Hey Tim
It looks like this should work fine. Give it a go, purge all cache and disable the Minified JS in wpDataTables Settings/Custom JS and CSS tab.
Let me know how it goes.
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