JS
<script type="text/javascript">
$(document).keydown(function(e){
var myTable = $('#demoTable').dataTable();
if (e.which == 37) {
myTable.fnPageChange( 'previous' );
return false;
}
if (e.which == 39) {
myTable.fnPageChange( 'next' );
return false;
}
});
</script>