If I use the "dom" option for buttons "B" then the fixed header doesn't work
If I use the "dom" option for buttons "B" then the fixed header doesn't work
measterbro
Posts: 33Questions: 9Answers: 0
I am using:
"dom": '<"top"Bif>rt<"bottom"flp><"clear">'
If I remove the 'B' then the table header is fixed. Otherwise, it doesn't work.
"fixedHeader": [
{"header": true},
{"headerOffset": $('#fixed').height()},
{"headerOffset": 50}],
"pageLength": 50,
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
"dom": '<"top"Bif>rt<"bottom"flp><"clear">'
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Put your code in this test case and it seems to work:
http://live.datatables.net/raqudiwe/1/edit
Let us know if the test case is not working or please provide a link to your page or update the test case to replicate the issue.
Kevin
I was able to get this working, this can be closed.