server side processing and iDisplayStart

server side processing and iDisplayStart

feldman_seanfeldman_sean Posts: 2Questions: 0Answers: 0
edited January 2013 in General
Hello,
I am looking for a way to specify how to set iDisplayStart for sub-sequent requests to the server for data retrieval. Reason: paging through tampered data (http://ravendb.net/docs/client-api/querying/paging). Is this even an option?
Thank you in advance,
Sean

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    This plug-in will work for both server-side and client-side processing: http://datatables.net/plug-ins/api#fnDisplayStart

    Allan
  • feldman_seanfeldman_sean Posts: 2Questions: 0Answers: 0
    Hi Allan,
    Couldn't get this plugin to work. Added the code in my JS file, but it was never executed, so not sure if plugin works or not. But looking at the code, there's no way for server to say "I'm giving you 10 results, next request start asking from starting record #13 (because we skipped 3 records on the server). It looks like the code you pointed me will just render less items in the table.
    Sean
This discussion has been closed.