Answers for "datatables header"

2

fixed table header datatables

$(document).ready(function() {
  var table = $('#myapproval').DataTable( {
      "fixedHeader": { 
      "header": true, 
      "footer": false 
      }
  }
}
Posted by: Guest on August-04-2020
0

datatables pass headers on request

Plain text1234567'ajax': {    'url': url,    'type': 'GET',    'beforeSend': function (request) {        request.setRequestHeader("token", token);    }}
Posted by: Guest on November-16-2020

Browse Popular Code Answers by Language