I'm trying to integrate iggrid from IgniteUI(TypeScript) to my IIS based application. I have custom API and I want to implement remote paging. My API has different names of parameters and returns items in content and total number in headers. I also need to add some headers to request.
Can I somehow do request by myself and just feed all necessary data to iggrid or do I really need to use iggrid to ask for data directly?
Can you show me how you achieved remote paging in your example?
hi
Can you please provide a sample how you acheived this having the same senario.
Thanks
Hello Ameur,
A sample demonstrating how to handle remote features is available in our online samples browser here.
In this sample Remote features are handled on the server side in the GridRemoteDataAction in the Controller. When a specific action is applied, for example paging, a remote request is send to the server with additional information stored in the query string. On the server side , the feature specific parameters are extracted from the Query String and the related data operations are applied to the data. Once the data is fully processed the result is returned in JSON format to the client.
Please have a look at this sample and I believe it will help you achieve your requirement.