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](https://secure.gravatar.com/avatar/cac638d64be41763ea1528c9f90d1b37/?default=https%3A%2F%2Fvanillicon.com%2Fcac638d64be41763ea1528c9f90d1b37_200.png&rating=g&size=120)
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.