Click here to Skip to main content
15,891,688 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to do paging in a table which have the large number of data using jquery i tried a lot but i don't know how can i do this please help
Posted
Updated 1-Sep-18 2:20am
Comments
Ranjeet Patel 10-Sep-14 5:14am    
What have you tried till yet. could you please paste your code snippet here.
There are many ways to achieve this
1) you can use Web Grid as per below link
http://stackoverflow.com/questions/22194716/paging-in-mvc-5
2) PM> Install-Package MVC4.Paging find on google how to use this, you can follow below link
http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/sorting-filtering-and-paging-with-the-entity-framework-in-an-asp-net-mvc-application

You can check this article is done with MVC and EF. for large data initial load will be high when you use Jquery.
Paging In MVC 5 with Entity Framework[^]
 
Share this answer
 
 
Share this answer
 
You this:


//add the below reference
https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css
https://cdn.datatables.net/1.10.19/css/dataTables.jqueryui.min.css
https://code.jquery.com/jquery-3.3.1.js
https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js
https://cdn.datatables.net/1.10.19/js/dataTables.jqueryui.min.js



$(document).ready(function() {
$('#customertable').DataTable();
} );


























NameAddressPhone Number
Vivek ChaudharyIN1234567890
Vivek ChaudharyIN1234567890





//bind the data to table with mvc code dynamically.
 
Share this answer
 

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