We're Moving to a New Support Platform – Starting June 1st!

We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.

You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.

While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.

We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.

Thanks for your continued support and trust – we’re excited to bring you an even better support experience!

Okay
  Public Ticket #2184919
Page refresh on table update
Closed

Comments

  • Jacob Raavig started the conversation

    Hi,

    Is it possible to trigger an automatic page refresh (reload page), when a change to a wpdatatable row (edit or add) is saved or deleted?

    I need because I would like to use wpdatatable as a datasource for another component on the same page, and the other component needs to be updated when data in table is changed.

    Thanks in advance :-)

    All the best,

    Jacob

  •  2,576
    Aleksandar replied

    Hello Jacob.

    I am sorry to disappoint you, but unfortunately something like this is not possible with the plugin's built-in features.

    If you have a manual table, or a server-side SQL query based table, you do have an auto-refresh option above the table. You can add the interval (in seconds) after which the table will refresh itself, thus displaying any changes that happened in that time period.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    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

  •  2
    Alejandro replied

    Hi Jacob.

    Sure you can do that with a little trick.

    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.

    Any question let me know.

    Regards

    Alejandro

  •  1
    David replied

    Hey @Alejandro,


    thanks for this little trick, it really helped me a lot :)

    If the target table is empty, the trick is not working. Do you know a workaround for that scenario? :)

    Many thanks,

    David

    EDIT: Nevermind. I just catch the case when the table is empty and use a reload() via JS.