1$(document).ready(function() {
2 var table = $('#example').DataTable( {
3 scrollY: "300px",
4 scrollX: true,
5 scrollCollapse: true,
6 paging: false,
7 fixedColumns: {
8 leftColumns: 1,
9 rightColumns: 1
10 }
11 } );
12} );
13