Jquery DataTable for Customised data rendering
Jquery DataTable for Customised data rendering
Hi ..,
I am using Jquery DataTable for my MVC3 website. The link for the demo grid is http://datatables.net/. I exactly use that grid with complete features of that. The thing is that if we use JQuery grid, it renders all the database data's at that time of page loads. i dont wanted to load all the data on page load. i want to make the grid should load data depends only on the pagination size like 10 or 20. after page loading i should use pagination (like 10-20) to load next 10 records. how can i do this with Jquery Datatable.
I am using Jquery DataTable for my MVC3 website. The link for the demo grid is http://datatables.net/. I exactly use that grid with complete features of that. The thing is that if we use JQuery grid, it renders all the database data's at that time of page loads. i dont wanted to load all the data on page load. i want to make the grid should load data depends only on the pagination size like 10 or 20. after page loading i should use pagination (like 10-20) to load next 10 records. how can i do this with Jquery Datatable.
This discussion has been closed.
Replies
http://datatables.net/release-datatables/examples/data_sources/server_side.html - server-side processing, requesting each page from the server when required
Or like this:
http://datatables.net/release-datatables/examples/data_sources/ajax.html - client-side processing with an Ajax data source, requests the full data set on page load.
Allan