chanan / BlazorStrap

Bootstrap 4 Components for Blazor Framework
https://blazorstrap.io
The Unlicense
919 stars 156 forks source link

Virtualization of BSDataTable #610

Closed sveinl closed 1 month ago

sveinl commented 5 months ago

I am looking into using BlazorStrap. Was looking for virtualization for datatables as my data could grow a bit. Are there any virtualization built into for example BSDataTable?

jbomhold3 commented 5 months ago

Only pagination you can prefetch the number of rows and call your offsets when the page changes. See last example on https://blazorstrap.io/V5/V5/content/tables or Data Table Example using FetchData example. You can also use https://learn.microsoft.com/en-us/aspnet/core/blazor/components/quickgrid?view=aspnetcore-8.0.

I have no plans to add virtualization at the moment but would take a PR that adds it

jbomhold3 commented 2 months ago

See https://blazorstrap.io/VNext/V5/components/datagrid