yea, in all examples i have seen and used related to ejGrid is that we set the [dataSource]="gridData"
[pageSettings]="pagesettings", where the datasource will be all pages data, and pagesettings will contain the page size and so on,
in my case i want to handle is that i don't have a method that gets all data and set it to be the grid datasource, the method i have takes the PageNumber and PageSize as parameters (its responsibility to get only the x records in page no y, not all grid records),
so i wanna the grid to be first loaded with records in page number 1 , and the pager will have pages according to all data records count, so if all records are 200 and the page size is 10, so the grid will be loaded with data in page no 1 with first 10 records, but the grid pager below will appear to the user from number 1 to 20 (as all records are 200, not the retrieved 10),
and if the user selects page no. 3 , so i call the service and get the records in page number 3 , and so on.
in brief, i don't want to set all the grid data , i just wanna get page by page, with reasonable pager.