I am building an igGrid with server-side paging. The grid is hooked to an OData v3 controller that was auto-generated by Visual Studio using Entity Framework. Filter and Sorting operations are working fine, but paging is not.
The issue appears to be that the grid is putting page=x and pageSize=y into the query string, but OData format is $top=x and $skip=y. Note that changing just the names page and pageSize is insufficient, because the value of $skip needs to be index * pageSize. I have tried multiple ways of editing the controller to support page and pageSize, but to no avail.
I can manually type OData request URLs that feature $top and $skip into my browser's address bar and get the wanted results. Is there a way to get the Grid to use $top and $skip? The grid itself is defined in a c# controller and passed into the page as part of the model, and I noticed that because of that I am unable to access the pageIndexUrlKey and pageSizeUrlKey properties of the GridPaging object. grid.OData is set to true.