Is it possible to apply the scrollY feature to the only?
Is it possible to apply the scrollY feature to the only?
Tocacar
Posts: 4Questions: 1Answers: 0
I have a datatable with individual column search inputs at the bottom (as per the tutorial). I want to make the table vertically scrollable as well, but the search inputs are included in the scrollable area and scroll out of view.
Is it possible to to apply the scroll only to the table's body, and not the footer (like the header row stays static).
Thanks!
This discussion has been closed.
Answers
Maybe the answer is https://www.datatables.net/extensions/fixedheader/? I'll check it out.
Use the
column().footer()
method to get the footer cells, regardless of scrolling.Allan
Hi Allan
Thanks for your reply. I was wanting to leave the footer row static when scrolling (so it doesn't disappear from view), like the header row stays static and doesn't disappear upwards when scrolling down.
How can I use column().footer() to make it stay still on the page?