I have two datatables on one page. After updating one I would like to see the results also appear in the second one. Is this possible?
I've been playing around with the draw() method as well as drawCallback. I'm not sure if I'm on the right track.
Code example below:
constraintEditor = new $.fn.dataTable.Editor( {
ajax: {
edit: {
url: "/clients/aps/update",
type: "PUT",
data: function (d) {
return JSON.stringify(d);
},
drawCallback: function ( settings ) {
accountTable.draw();
}
}
}