Question about Pagination

Question about Pagination

bubuzzzbubuzzz Posts: 26Questions: 0Answers: 0
edited August 2011 in DataTables 1.8
Hi all,

I started to use DataTable today. After reading all the examples, I only see that for pagination, datatable can only use ajax mode to post back the current page and length to the server. My question is how can i press the next button of the pagination and catch the paramenters in the server side in the normal mode?

Replies

  • allanallan Posts: 63,678Questions: 1Answers: 10,497 Site admin
    I don't quite understand I'm afraid - you want to use client-side processing, but you want access to the internal parameters? That can be done with the API method fnSettings().

    Allan
  • bubuzzzbubuzzz Posts: 26Questions: 0Answers: 0
    Sorry, my question was not clear. What i mean is how can i make the normal pagination without using AJAX (since the navigator button cannot only post data bake to server if the AjaxSource is specified)
  • allanallan Posts: 63,678Questions: 1Answers: 10,497 Site admin
    DataTables will do pagination on the client-side, without Ajax, by default as shown in this example: http://datatables.net/release-datatables/examples/basic_init/zero_config.html

    Allan
  • bubuzzzbubuzzz Posts: 26Questions: 0Answers: 0
    Hi allan,

    I solved my problem with the example about pagination custom. Thank you
This discussion has been closed.