Is there a way to always displaying the y-scrollbar?
Is there a way to always displaying the y-scrollbar?
lira
Posts: 8Questions: 2Answers: 0
Is there a way to always displaying the y-scrollbar?
This discussion has been closed.
Answers
Is there a way to always displaying the y-scrollbar?
DataTable (1.10.11)
Code from DataTables debugger: ecokej
bump
Even when scrolling isn't required? Use CSS to achieve that:
You may need to remove the default
overflow
option from the DataTables default CSS or use CSS to override it.Allan
Thanks! :-)
I will try that.
I´m not an expert on css so I´m not sure I´m doing this right, but when I look in jquery.dataTables.css for the overflow option, I can´t find any.
In the html the overflow is set by an inline style.
Like this:
<div class="dataTables_scrollBody" style="position: relative; overflow: auto; width: 100%;">
Where does that inline style come from? Can I change it somehow or do I have to use !impotant in my own css?