Hi,
I tried all samples I could find from SfGrid, so if anyone can help would be great!
<SfGrid @ref="Grid" DataSource="@Ordens" AllowPaging="true" Toolbar="@Tool" AllowSorting="true">
<SfDataManager Adaptor="Adaptors.CustomAdaptor">
<OrderAdaptor></
OrderAdaptor
>
</SfDataManager>
So my
Search (var Tool = (new List<string>() {"Search" });) needs to call API, next page needs to call API too, order by from colls (
AllowSorting="true" ) needs to call API too
builder.Services.AddHttpClient<IOrderService,
OrderService>(client =>
{
client.BaseAddress = new Uri("https://localhost:7068/api/v1/");
}).AddPolicyHandler(retryPolicy).AddHttpMessageHandler<CustomHttpMessageHandler>();