Answers for "datatables fixed column"

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 column freeze

$(document).ready(function() {
    var table = $('#example').DataTable( {
        scrollY:        "300px",
        scrollX:        true,
        scrollCollapse: true,
        paging:         false,
        fixedColumns:   {
            leftColumns: 1,
            rightColumns: 1
        }
    } );
} );
Posted by: Guest on June-25-2020

Code answers related to "datatables fixed column"

Browse Popular Code Answers by Language