$(document).ready(function() { var table = $('#myapproval').DataTable( { "fixedHeader": { "header": true, "footer": false } } }

fixed table header datatables