Author Topic: How to do server side pagination?  (Read 3115 times)

ruchabhutada

  • Newbie
  • *
  • Posts: 10
    • View Profile
How to do server side pagination?
« on: September 28, 2016, 10:42:03 am »
Hello sir,
I want to fetch the data from database  on every click of next page button which is available on grid.
So If I have 10,000 records, first I will fetch 100 hundreds records for the first time. Next time I click on 'next page button', it should work like - it will give the call of ajax to the controller and gives response back to the user of suppose next 100 records from the database. This all should happen without knowing the user that it is coming from server.
Please tell me how to do this ?
I have referred this link   -  http://paramquery.com/demos/paging
But only once it gives the call to the server and fetch entire data from it.
Please help me.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: How to do server side pagination?
« Reply #1 on: September 29, 2016, 06:25:08 pm »
This is the example for server side paging: http://paramquery.com/demos/paging