Fixed header/footer not working?

Fixed header/footer not working?

ekbordoekbordo Posts: 12Questions: 8Answers: 0

Hello everyone;

I want to add fixed header and footer like this link (https://datatables.net/extensions/fixedheader/examples/options/header_footer.html) . I implement all steps, but header/footer cannot be fixed. Any suggestions?

I added this code

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

I added this script

https://code.jquery.com/jquery-3.3.1.js
https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js
https://cdn.datatables.net/fixedheader/3.1.5/js/dataTables.fixedHeader.min.js
https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css
https://cdn.datatables.net/fixedheader/3.1.5/css/fixedHeader.dataTables.min.css

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.