Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a jquery datatable set default as 500. When its loaded firsttime, i get 500 them but when I apply some filters and clear them out later, i cannot see 500 again instead i see only 10 per page. How can i get all 500 of them in single page and not in pagination. Any help is appreciated.

for 500 rows in a page, I added 500 as option in datatable.min.js and in the .cshtml, this is my code


$('#example').dataTable({
"iDisplayLength": 500,
"bSortCellsTop": true
});



Thanks

What I have tried:

$('#example').dataTable({
"iDisplayLength": 500,
"bSortCellsTop": true
});
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900