Hello, I prepared a sample code for SfGrid where I defined some Query and used a SfDataManager with WebApiAdaptor.
When the grid gets all data from ApiCustomerController via [HttpGet] then my additional parameter "test1" from GridQuery is preserved correctly in Request.Query.
However when I enter some text into a filter-field and the grid tries get some first rows from the adapter, then the Request.Query doesn't contain my GridQuery anymore.
It worked properly in Syncfusion Blazor 18.1. What I must define to make it working in 18.4?
In attached project, the test page GridQueryFilter is called from NavMenu under "Grid Query Filter".
Best regards
|
<FilterTemplate>
<SfAutoComplete Placeholder="Enter the Name" ID="Name" @bind-Value="@((context as PredicateModel<string>).Value)" Query="GridQuery" TItem="Customer" TValue="string">
<SfDataManager Url="/api/ApiCustomer" Adaptor="Adaptors.WebApiAdaptor"></SfDataManager>
<AutoCompleteFieldSettings Value="Name" Text="Name"></AutoCompleteFieldSettings>
</SfAutoComplete>
</FilterTemplate>
</GridColumn>
|
Thanks, it works correctly.