On a page where there are many tables. I want to reload a table individually without necessarily going through the reloading of the page which takes more time. Reloading the table would go through the action of a button linked to the table. Do you have a simple solution for me ?
I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features.
At the moment, you can only add an auto-refresh interval if your SQL tables have server-side processing enabled. You would set the interval in seconds, and the table will be automatically refreshed after that interval passes.
Creating a refresh button for the table, however, is something that could only be done as a custom solution, and that is not included in the provided support for the plugin.
I can only recommend these services for customization:
Thank you for your explanations. I have found a simple solution which may interest you and which for me satisfied me completely. I actually use the 'clear filters' button. Because when you click on it it clears the filters, but also it updates the table. To make this as consistent as possible, it would be necessary to rename the button to 'update' with CSS and to modify its logo. The user will easily understand that by updating the table he also updates the filter. This solution is super simple and already ready! You can close this topic.
I'll keep it as a possible solution for the future.
You can only hide the filter fields with some custom CSS. If you disable all columns' filters, the table will break because you enabled filtering in the "Sorting and Filtering" tab above the table.
To change Clear Filters' text, you can go to wp-content/plugins/wpdatatables/source/class.wpdatatable.php and change this line:
Thanks for the CSS code. But I can assure you that I disabled all filters for all columns in multiple tables and none of the tables broke. As you can see on the attached screenshot.
Hello,
On a page where there are many tables. I want to reload a table individually without necessarily going through the reloading of the page which takes more time. Reloading the table would go through the action of a button linked to the table. Do you have a simple solution for me ?
Best regard.
I specify that these are SQL tables.
Hello spounch
I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features.
At the moment, you can only add an auto-refresh interval if your SQL tables have server-side processing enabled. You would set the interval in seconds, and the table will be automatically refreshed after that interval passes.
Creating a refresh button for the table, however, is something that could only be done as a custom solution, and that is not included in the provided support for the plugin.
I can only recommend these services for customization:
https://codeable.io/?ref=l1TW1
https://wpkraken.io/?tms-plugins
They do develop such solutions, so can you please send your inquiry to them?
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
Thank you for your explanations. I have found a simple solution which may interest you and which for me satisfied me completely. I actually use the 'clear filters' button. Because when you click on it it clears the filters, but also it updates the table. To make this as consistent as possible, it would be necessary to rename the button to 'update' with CSS and to modify its logo. The user will easily understand that by updating the table he also updates the filter. This solution is super simple and already ready! You can close this topic.
Best regard.
... It is possible to deactivate all the filters of the columns and to keep only the button 'clear filters' rename 'refresh.'
That's a great approach, spounch
I'll keep it as a possible solution for the future.
You can only hide the filter fields with some custom CSS. If you disable all columns' filters, the table will break because you enabled filtering in the "Sorting and Filtering" tab above the table.
To change Clear Filters' text, you can go to wp-content/plugins/wpdatatables/source/class.wpdatatable.php and change this line:
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 for the CSS code. But I can assure you that I disabled all filters for all columns in multiple tables and none of the tables broke. As you can see on the attached screenshot.
Best regards.
After viewing the screenshot, please delete it, as I noticed that my email address was visible. Best regards.
I can't delete the attachment, but I made that comment Private, so no one except for us can see it.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
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