I want to disable all click events from my datatable.
I can do this with
var table = $('#example').DataTable();
$('#example').off('click');
But I can not enable the eventhandler later on.
This does not work.
$('#example').on('click');
Same with .bind() and .unbind()
What am I doing wrong?