lengthMenu

lengthMenu

pranitachettripranitachettri Posts: 1Questions: 0Answers: 0

lengthMenu(Showing per page) i want to bring the component in my index file coz our design is little different need to add text in between plz help how to do or bring the html in page.

$(document).ready(function (){
var table = $('#xxx').DataTable({
lengthMenu: [ [2, 4, 8, -1], [2, 4, 8, "All"] ],
pageLength: 4
});
});

xxx is my table id but

html copied:

please help me how to do.

This discussion has been closed.