Maintain Scroller when using sScrollY

Maintain Scroller when using sScrollY

MattSkeldonMattSkeldon Posts: 19Questions: 1Answers: 0
edited March 2014 in General
When using sScrollY option is there a way to maintain the scrollbar even when the filter means that it is not required?

http://datatables.net/examples/basic_init/scroll_y.html

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Try: `div.dataTables_scrollBody { overflow-y: scroll !important; }` in your CSS.

    Allan
  • MattSkeldonMattSkeldon Posts: 19Questions: 1Answers: 0
    Perfect, I had not considered touching the CSS at all. Was frantically searching for a property of the table.

    Regards. Matt Skeldon.
This discussion has been closed.