page length select list not shown

page length select list not shown

chengcheng666chengcheng666 Posts: 1Questions: 1Answers: 0

I am using JQuery Datatable: 1.10.7 and https://datatables.net/reference/option/lengthMenu

JS code:

$('.table').DataTable({ 'lengthMenu': [ [10, 25, 50, -1], [10, 25, 50, 'All'] ], 'aoColumns': [null, null, null, { 'bSortable': false }, { 'bSortable': false }] }); // eslint-disable-line new-cap

Output: page length select list not shown. More details here:http://stackoverflow.com/questions/36703093/jquery-datatable-page-length-select-list-not-shown

How to do? Anything missing?

Answers

  • allanallan Posts: 64,083Questions: 1Answers: 10,567 Site admin

    Please link to a test page showing the issue so it can be debugged, per the forum rules.

    Allan

This discussion has been closed.