Simple fixed header example not working...why?
Simple fixed header example not working...why?
hi to all,
In our company we use IE9 (Standard browser for Intranet)
I just tried to implement the basic example for fixed header.
On the datatable website it's working as expected.
But when I try to use it in my html page, it doesn't.
here's my fiddle
I expected the table header to "stop" when reaching the top of my id "contentMain".
Even if I set the top of "contentMain" to 0, it does not work.
Can anyone help me please to find my mistake?
thank you very much,
azfrank
This question has an accepted answers - jump to answer
Answers
Ok, I guess I got it. I think, it's because of the scrolling container around my datatable.
I just took a new css approach , here's my working fiddle
I just tested it with my android mobile (Firefox browser): works also
Yes - FixedHeader doesn't work inside a scrolling container I'm sorry to say. That's a feature I hope to add in future.
Allan