Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3800

ajax.reload

$
0
0

I have a page with 2 datatables, one (parent) acting as filter for another (child).

what i want to do is on editing the child table, the parent data is reloaded.

I can do this with

setInterval( function () {
pagestable.ajax.reload(null, false);
}, 3000 );

which reloads every 3 seconds

if i try

editor
    .on( 'postCreate postEdit postRemove', function () {
        pagestable.ajax.reload( null, false );
    });

nothing happens, the function is not triggered


Viewing all articles
Browse latest Browse all 3800

Trending Articles