1
Help for ParamQuery Grid (free version) / 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.
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.