DataTable with other simple tables
DataTable with other simple tables
I am using Datatable along with FixedHeader in my angular app.
Everything was working fine until I added another simple table.
Now with simple table when I scroll up, fixed header of my Datatable appears.
Is this a common issues? Please give me some guidance.
Fixed header is registered like this
var Table = $('#example').DataTable();
new $.fn.dataTable.FixedHeader( Table, {
headerOffset: 50,
header: true,
footer: false
});
Datatable : table id="example" class="table table-bordered table-hover"
simple table: table class="table table-bordered"