Is there anyway to bind the custom paging like below:
My logic is that...
#1. service return search result 9 rows to bind to igGrid (type = remote).
#2. service also return the total search result for example 100 rows.
#3. use step #2 to custom to paging. because now igGrid paging is showing only the 9 rows returned data, I'd like igGrid to use step #2 to show the paging not use step #1. for the search performance reason, remote is the right way to do it. but only the paging that i need to be custom.
#4. if i click next page (page 2) so I will sent out the search parameter to the service like search the same criteria but return row 10 - 18 then return back to bind to igGrid.
Thank you.
Hello,
I'm just following to see if you need any further assistance on this matter.
Thank you for contacting us.
As I understand you want to load only 9 records in your grid, although you will have the total records also. And when you have binded only this 9 records, you do not see the next page (that is expected because there are only 9 records in the grid), but you want to show you the next page, and when you select it, to show you the next portion (9 records) of these 100, e.g. 10 - 18.
It looks like you want to use LoadOnDemand functionality of the grid. If I'm correct, please explain me why you do not want to bind all 100 records on a first place. This is the main point of paging, to have all records and you to decide how many of them and when they will be shown.
Useful references:
http://help.infragistics.com/jQuery/2013.2/ui.iggridloadondemand
http://igniteui.com/grid/load-on-demand
http://help.infragistics.com/Help/Doc/jQuery/2012.1/CLR4.0/html/igGrid_Paging.html
http://ko.infragistics.com/community/forums/t/81433.aspx
If you need further assistance on this matter, contact me.
Looking forward to hearing from you.