Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter subi88

    (@subi88)

    Hey,

    thanks for your helpful answer! I am still interested in finding a solution.

    Your code works, I am able to display JSON data via ajax. So we’re almost there ??

    It is important for me that the table is refreshing/reloading automatically. As I wrote above, I need to implement a datatables function. The ajax.reload function is discribed here: https://datatables.net/reference/api/ajax.reload()

    setInterval( function () {
    table.ajax.reload( null, false );
    }, 30000 );

    Do you have an idea how and where I can call this function in the shortcode?

    Thanks and have a great day.

Viewing 1 replies (of 1 total)