Paging from DB

Paging from DB

swarleyswarley Posts: 2Questions: 0Answers: 0
edited February 2012 in General
I am trying to fetch only the specific data from the db for a specific page. It works for the first load and shows the first 20 items. but then how can i add a function to the paging buttons to fetch the next page from the db

Replies

  • swarleyswarley Posts: 2Questions: 0Answers: 0
    Ok, scrap that. All I want is for the paging buttons to be shown permanently
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Sounds like you want server-side processing: http://datatables.net/release-datatables/examples/data_sources/server_side.html . Each draw (paging, sort etc) event will get the data for the draw from the server.

    Allan
This discussion has been closed.