Scroll Colvis - How to?
Scroll Colvis - How to?
thegamechangerpro
Posts: 81Questions: 30Answers: 1
I have too many columns and can't see all of the options to adjust visibility.
I found two older threads that state that this is the solution:
div.dt-button-collection {
max-height: 100px;
overflow-y: scroll;
}
While this sets the max height, it does not give me a scroll bar.
Has something changed?
Thanks,
Answers
That solution works in this test case:
https://live.datatables.net/loyupawu/1/edit
There might be a CSS conflict. Maybe inspect the Colvis element to see if there is something overriding the CSS you specified. If you still need help please post a link to your page or a test case, update mine if you wish, replicating the issue so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Another option might be using multiple columns like this example.
Kevin