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