Force the display of vertical scrollbar

Force the display of vertical scrollbar

RonanRonan Posts: 7Questions: 3Answers: 0

Hello,

I activated vertical scrolling with this code:

$(document).ready(function() {
    $('#example').dataTable( {
        "scrollY":        "200px",
        "scrollCollapse": true
    } );
} );

But the browser does not always display the vertical scrollbar: it is only shown when a scroll is initiated by the user.

=> I would like to improve user experience by showing the scrollbar permanently. How do I achieve this with datatables ?

Regards,

Ronan

This discussion has been closed.