Jquery DataTable for Customised data rendering

Jquery DataTable for Customised data rendering

deva2012deva2012 Posts: 2Questions: 0Answers: 0
edited July 2012 in General
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.

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Do you mean like this:
    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
This discussion has been closed.