Is the data source configured as OData? If yes paging will happen automatically if you recreate the grid. I suspect it isnβt based on your other question about filtering. You can attach the data source JSON file here and feel free to remove any sensitive data such as URL. You can find it in the meta\data directory within the Radzen application.
You get this error since you need to authorize the service in design-time however MS Graph authorization is not supported at the moment.
About the paging, sorting and filtering. When the MS Graph service is added as OData data-source, Radzen will append all needed parameters and will page, sort and filter as with any other normal OData service. No need to use @odata.nextLink since $skip and $top are supported.
Iβve logged your request and we will do our best to provide support for MS Graph authorization as soon as we can.
about the authentication, I'm able to authenticate at runtime because the latest change @korchev did by adding the extra parameters to the authentication uri and the use of httpClient instead of http (and the custom interceptor): see
I tried also the O365 SP odata endpoint. Radzen is asking for to authenticate at design time, but after login in you get this:
These parameters are compatible with the OData V4 query language. Not all parameters are supported across all Microsoft Graph APIs, and support might differ significantly between the v1.0 and beta endpoints.
Most probably what's missing will be added in the near future. In the meantime we will do our best to provide soon custom paging support (custom OData parameters and prev/next pager mode)!
Best Regards,
Vladimir
PS: rz-array-form-field issue with code generation fixed immediately!
It looks like work-in-progress and indeed in some cases their docs are not in-sync with the actual features. Considering the fact that they recommend MS Graph instead Azure AD Graph API:
We strongly recommend that you use Microsoft Graph instead of Azure AD Graph API to access Azure Active Directory resources. Our development efforts are now concentrated on Microsoft Graph and no further enhancements are planned for Azure AD Graph API. There are a very limited number of scenarios for which Azure AD Graph API might still be appropriate; for more information, see the Microsoft Graph or the Azure AD Graph blog post in the Office Dev Center.
most probably these missing features will be added quickly.
It seems the supported odata query parameters is not consistent across resources in the GraphApi.
The way I read the following article, some resources support $skip and others $skipToken. It seems what is consistent is the presence of @odata.nextLink in the response which of course can be used for paging.
I had to disable paging on the RadZen grids in order to get data from Graph. I believe even the first request from Radzen includes $skip=0 which fails due to the $skip not supported error.
Would it make sense to drop $skip=0 from the first request and implement the @odata.nextLink for paging if the value is present in the first response?