Quantcast
Channel: DataTables 1.9 — DataTables forums
Viewing all articles
Browse latest Browse all 1816

Can't get scroller to work

$
0
0
The scroller isn't working for me. I'm using the datatable as an autocompleter. I'm doing absolute positioning on it so that it appears directly below the input associated with it, but other than that I think it's a typical datatable. Here is the initialize code before I try to add a scroller.

self.table.dataTable({
  bLengthChange: false,
  bPaginate: false,
  bInfo: false,
  bFilter: false,
  bSort: false,
  aaData: mydata,
  aoColumnDefs: columnDefs
});

When I try to add a scroller by adding sScrollY: '300', it completely janks the table. It moves the table and the input field over to the right, and doesn't add any scroll bars. The table still goes off the bottom of the screen.

If you need any other info let me know.

Viewing all articles
Browse latest Browse all 1816

Trending Articles