Hey everyone!

With the holiday season upon us, we want to share our upcoming working hours:

After that, we’ll return to our regular schedule and assist you as quickly as possible.

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find tons of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel), which might just have the answers you need while we’re away.

Thanks a bunch for your understanding and support!

Warm regards and happy holidays!

TMS

Okay
  Public Ticket #3522044
QUESTION
Closed

Comments

  • Denis started the conversation

    Hello

    I need to refresh a table after receiving a webhook in WordPress.


    Can you please tell me the php code to achieve this?

  •  1,847
    Miloš replied

    Hi Denis,

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    When it comes to 'out of the box' Auto-Refresh for our Tables :

    - Auto-refresh feature for the tables, using the built-in functionality of our plugin is only possible for server-side enabled tables, such as a manual table, or a server-side SQL query-based table. 

    This option will appear on the "Data source" tab above the table.

    7551443052.png

    You can add the interval (in seconds) after which the table will refresh itself, thus displaying any changes that happened in that time period.

    -

    2.

    - But for tables linked to a data source - you will not be able to enable server-side processing, and this requires a custom JQuery solution. 

    Unfortunately, we don't have any built-in solution for that at this time.

    Please feel free to search on our suggestions page

     to see if someone may be already suggested this feature. If you can't see it, feel free to add your suggestion there,  and as more people vote, the feature will move higher on the priority list.

    You can certainly follow our changeLog page if you'd like ( it is also available in the plugin dashboard), where we state any changes/new features/bug fixes during updates;

    and our newsletter, so you're informed about new features, bug fixes, freebies, etc.

    -

    If you need a solution for it now, maybe it can be done with a high level of custom work, but I am not sure, to be honest. 

    Our developers are very busy at the moment, working on some priority tasks and fixing bugs and issues with our plugins, so they won't be having the time for custom work in the near future.

    -

    I can only share an idea for a custom workaround which one of our users came up with.

    ( we can't guarantee that it works, but the user claims it worked for him) 

    This is what he said :

    "Create a filter. Make sure that you choose "above the table". it is because we'll need the filter id for this trick. 

           jQuery("#filterBox_table_5").hide(); 

     //if you don't want to see this filter, check your table id and use it here.        

    jQuery("input[placeholder='YOUR FIELD NAME']").trigger('keyup'); 

    // this refresh your table. 

    Call this jQuery line each time you want to refresh it. "

    - I hope that this can help, to at least give you an idea for a workaround.smile.png

    Of course, you can always research resources such as Stack Overflow, and similar,

    or If you have coding skills and wish to try to make a custom solution now,

    you can check out our available hooks for Developers on this documentation and see if you can find any hook that might help.

    Please be advised that custom solutions with hooks are not included in our support.

    You can also research resources such as Stack Overflow to see if any other user perhaps found a workaround.

    ( We do like to give examples for certain solutions, but for this use-case, we, unfortunately, don't have anything yet)



    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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