Persistent Vertical Scroll Bar?

Persistent Vertical Scroll Bar?

alpalp Posts: 4Questions: 2Answers: 0

Does Datatables allow for a persistent vertical scroll bar?

If so, please point me in the right direction.

Answers

  • kthorngrenkthorngren Posts: 21,342Questions: 26Answers: 4,954

    Use scrollY.

    Kevin

  • alpalp Posts: 4Questions: 2Answers: 0

    scrollY is not persistent. Only works when there is scroll-able content, for me anyways.

    $(document).ready(function() {
    $('#table_id').removeAttr('width').DataTable({
    scrollX: '750px',
    scrollY: '500px',
    autoWidth: true,
    responsive: false,
    scrollCollapse: false,
    paging: false,
    info: false,
    ordering: true,

This discussion has been closed.