Colvis/Column visibility with scroll bar?
Colvis/Column visibility with scroll bar?

I have a table with a complex header (huge amount of columns). I am using the colvis button to show a list of the columns in the table and to toggle column visibility. I would to add to that list a scroll bar. I know that you can add columns to the list but I would like to add a scroll bar to facilitate to search the desired column.
I would like something like that...
It would be possible?
Thank you in advanced.
This discussion has been closed.
Answers
Hi @rosaricla ,
There are a few threads like this - such as this example from this thread. Hopefully that'll get you going,
Cheers,
Colin
Thank you @colin ! But I was looking to add the scroll bar in the colvis button (https://datatables.net/extensions/buttons/examples/column_visibility/simple.html ) and not in the column filtering as in the example. Any idea?
Thanks,
Rosa
will do it.
Allan
Hi @allan ! Thank you! But did not work...
I have tried to modify dt-button-collection changing it by what you suggested but it is still not working.
I am using the following css file: https://cdn.datatables.net/buttons/1.5.2/css/buttons.dataTables.css
There I have changed:
To:
Hi @rosaricla ,
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Was there a solution to this question?
@allan way works great it was just missing "." so it is:
}
in the view page. I am new to this site is there a way to delete user old comments and can we vote up comments?
thanks