page.len - cannot be used

page.len - cannot be used

ltdetaltdeta Posts: 23Questions: 9Answers: 0
edited January 2015 in DataTables 1.10

i am getting the following error using .page.len()
error 'page' is null or no object

var table = $('#example').dataTable({
"iDisplayLength": 50,
"lengthMenu": [ [10, 25, 50, -1], [10, 25, 50, "All"] ],
"bLengthChange": true
});
table.page.len( 10 ).draw();

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.