How can I recieve custom vars from server?
How can I recieve custom vars from server?

Like the example where we can send custom vars to the server, how can I receive some additional json vars sent by server? I need to change the datatables rendering based on some serverside settings, but as I need those only while I draw/redraw the table I don't want to fire two separate calls each time....is there a way to do this?
This discussion has been closed.
Replies
Allan
$('#example').on('xhr', function ( e, o, json ) {
// do something with the json
} );
[/code]
Allan