I have a large amount of records. Currently I only load the first 25 records on OnInitializedAsync.
I tried virtualization and paging, but they tend to load slowly as well. What is best practice? I was thinking for this particular table to do a custom query that returns records on the search.
Thank you.
|
@if(Orders!= null)
{
<SfGrid DataSource="@Orders" AllowPaging="true">
<GridPageSettings PageSize="20"></GridPageSettings>
...
</SfGrid>
}
@code{
public List<Order> Orders { get; set; }
…
}
|
Thank you. It still takes 15 seconds to load 17k records. Can I override the standard search box or do I have to use a custom template?