Can't make datatable's events to be fired

Can't make datatable's events to be fired

havahava Posts: 11Questions: 0Answers: 0

I try to set DT event handler with no luck. Here is my attempt
$('.transactions_table').dataTable().on('preXhr', function(e, settings, data){ console.log(settings, data) })

No data in console, event haven't fired when I pressed pagination button and DT redrawed. What do I do wrong?

Thanks

This discussion has been closed.