Fixed column issues
Fixed column issues
Chris230291
Posts: 34Questions: 10Answers: 1
Hello. I am playing with fixed columns. I am having some issues though. First of all the headers disappear and secondly the scrolling column is overlapping the first on scroll. It also messes with styling (the white rows).
http://live.datatables.net/rovubece/2/edit
Can anyone see what is going wrong?
Thanks,
Chris
Answers
Hi @Chris230291 ,
This isn't something that happens in our standard BS5 example. This must be to do with how BS5 layers different elements. If you add a
z-index
rule for fixed left columns then it keeps them at the front - see this change to your example.Thanks,
Sandy
Thanks for the reply. That sorts out one of the issues. Can anyone help with any of the others?
I have changed the background to help show the problems.
http://live.datatables.net/zimajeli/2/
I think I have figured it out with css. But should I have to do this?
Hi @Chris230291 ,
The BS5 styling that you are using uses css variables, which is not something that we support yet. So for now, yes, you will have to set the above css if you are straying away from the default styling.
This is something that we are looking to support in the future, but for now there are other things that we are focusing on.
Thanks,
Sandy