DataTables height causes its content to collapse with a page footer...
DataTables height causes its content to collapse with a page footer...
phi1ipp
Posts: 6Questions: 1Answers: 0
Hi guys,
Maybe somebody have a solution to the problem. I build the datatable after content is put on the page. So, I think, when table controls are added above and below, its height increases and the bottom controls collapse with the page footer. I'm using bootstrap 4.
Thank you in advance!
This discussion has been closed.
Answers
False alarm... I think the issue is on my side again. I was prepping a fiddle and found that it works, when I load all the libraries from CDN. In my project I pull them bundled. As I had few issues trying to make it work together with webpack, I guess it's something in this area.
That's what I see
and I believe it's b/c of
footer
class which hasI see this happening when there is a text wrap in cells. So if I make my window fully wide open, then there is no collapse.
turned out it's Bootstrap default behavior, sorry for the false alarm!
the solution is to apply, maybe it will help somebody in the future