Hello,
I'd like to ask, how I can resolve my problem. I developing a Blazor Client app with ASP.NET Core like backend WebAPI for retrieve data.
I used this versions:
- .NET Core SDK: Version: 3.1.301
- Syncfusion.Blazor 18.1.0.59
On API, I implemented pagination for data. I take query parameters in URL for example:
api/ApplicationUserRead?pageNumber={pageNumber}&pageSize={pageSize}In response I send all needed information, like count of total pages and count of all items, etc.
What I need is, learn Data Grid to call this API, so when I clicked on next page, I want to call API with appropriate parameters. So I look on Custom Adaptors. I tried implement one for my data. There I call API for retrieve data but it's doesn't work, DataGrid is empty.
How I can call my API from DataGrid? Is this the good way or there is another approach to reach that goal?I attached Adaptor, page with Datagrid and response JSON.
Attachment:
CustomAdaptorBlazor_71f125eb.zip