I am using SyncFusion.Blazor v 18.1.0.43
I have a remote ODataV4 API that I have been accessing by passing OData queries to from a service in my Blazor server-side application.
I am migrating to SyncFusion controls and I want to use the DropDownList with the DataAdapter.
Here is my code from the component's .razor file;
<SfDropDownList id="accountOwner" CssClass="adjust-sf-padding" TValue="string" TItem="Account" @bind-Value="@CreateAccountType.OwnerId" Query="@OwnerIdQuery">
<SfDataManager Headers="@HeaderData" Url="@ApiAccountsUrl" Adaptor="Adaptors.ODataV4Adaptor"></SfDataManager>
<DropDownListFieldSettings Text="AccountName" Value="ID"></DropDownListFieldSettings>
</SfDropDownList>
For the OwnerIdQuery in the .razor.cs file, I need to get the equivalent of...
"$filter=AccountType eq MyAPI.Server.Enums.AccountTypes'Reseller'&$orderby=AccountName&$select=AccountName,Id"
Is there a version of your Query object that can accept the straight QDataV4 query string?