All Projects → SamProf → BlazorVirtualScrolling

SamProf / BlazorVirtualScrolling

Licence: MIT license
Blazor components for efficiently rendering large lists and data using virtual scrolling

Programming Languages

HTML
75241 projects
C#
18002 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to BlazorVirtualScrolling

Matblazor
Material Design components for Blazor and Razor Components
Stars: ✭ 2,599 (+4541.07%)
Mutual labels:  blazor, blazor-client, blazor-server, blazor-component
AutoSaveEditForm
A replacement for the default EditForm component which will auto save a form until it is successfully submitted
Stars: ✭ 44 (-21.43%)
Mutual labels:  blazor, blazor-client, blazor-server, blazor-component
smart-blazor
Blazor UI Components & Examples
Stars: ✭ 32 (-42.86%)
Mutual labels:  blazor, blazor-client, blazor-server, blazor-component
MASA.Blazor
Blazor component library based on Material Design. Support Blazor Server and Blazor WebAssembly.
Stars: ✭ 469 (+737.5%)
Mutual labels:  blazor, blazor-server, blazor-component
blazor-docs
Public Documentation for Telerik UI for Blazor components.
Stars: ✭ 42 (-25%)
Mutual labels:  blazor, blazor-client, blazor-server
MudBlazor
Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
Stars: ✭ 4,539 (+8005.36%)
Mutual labels:  blazor, blazor-client, blazor-server
MudBlazor.Markdown
Markdown component based on the MudBlazor environment
Stars: ✭ 30 (-46.43%)
Mutual labels:  blazor, blazor-client, blazor-server
EmbeddedBlazorContent
Library to load embedded content files (js and css) from Blazor libraries in server-side Blazor mode.
Stars: ✭ 39 (-30.36%)
Mutual labels:  blazor, blazor-server, blazor-component
Blazorade-Teams
A Blazor component library that is designed to be used when building applications for Microsoft Teams.
Stars: ✭ 29 (-48.21%)
Mutual labels:  blazor, blazor-client, blazor-server
TextEditor
Rich text editor for Blazor applications - Uses Quill JS
Stars: ✭ 156 (+178.57%)
Mutual labels:  blazor, blazor-client, blazor-server
AsteroidsWasm
Collection of applications based on a single C# .NET Standard project running in: Blazor Client (WebAssembly), Blazor Server, Electron, WPF, WinForms, Xamarin
Stars: ✭ 136 (+142.86%)
Mutual labels:  blazor, blazor-client, blazor-server
BlazorGraphApi
Blazor Server App with Azure AD Authentication, that calls the Microsoft Graph API on-behalf of the signed-in user.
Stars: ✭ 28 (-50%)
Mutual labels:  blazor, blazor-server
FlashCards
Learning Blazor By Creating A Flash Cards Application
Stars: ✭ 17 (-69.64%)
Mutual labels:  blazor, blazor-server
BlazorServerWithDocker
Companion code sample for my blog post - Containerising a Blazor Server App
Stars: ✭ 16 (-71.43%)
Mutual labels:  blazor, blazor-server
BlazorFullCalendar
A Server-Side-Blazor wrapper for FullCalender.io
Stars: ✭ 24 (-57.14%)
Mutual labels:  blazor, blazor-server
blazor-tour-of-heroes
The Angular Tour of Heroes tutorial, but done using Blazor instead
Stars: ✭ 17 (-69.64%)
Mutual labels:  blazor, blazor-server
blazor-ui
A collection of examples related to Telerik UI for Blazor Components: https://www.telerik.com/blazor-ui
Stars: ✭ 182 (+225%)
Mutual labels:  blazor, blazor-server
BlazorCefApp
Build windows desktop GUI app via CEF / WinForms / Blazor server-site
Stars: ✭ 28 (-50%)
Mutual labels:  blazor, blazor-server
BlazorWasmWithDocker
Companion code sample for my blog post - Containerising a Blazor WebAssembly App
Stars: ✭ 16 (-71.43%)
Mutual labels:  blazor, blazor-client
MvvmBlazor
A lightweight Blazor Mvvm Library
Stars: ✭ 203 (+262.5%)
Mutual labels:  blazor, blazor-server

BlazorVirtualScrolling

Material Design components for Blazor and Razor Components

NuGet Gitter GitHub Stars GitHub Issues Live Demo MIT Donate

The VirtualScroll displays large lists of elements performantly by only rendering the items that fit on-screen. Loading hundreds of elements can be slow in any browser; virtual scrolling enables a performant way to simulate all items being rendered by making the height of the container element the same as the height of total number of elements to be rendered, and then only rendering the items in view.

Demo and Documentation

Prerequisites

Don't know what Blazor is? Read here

Complete all Blazor dependencies.

  • .NET Core 3.0 Preview 4 SDK (3.0.0-preview4-19216-03)
  • Visual Studio 2019 Preview 4 with the ASP.NET and web development workload selected.
  • The latest Blazor extension from the Visual Studio Marketplace.
  • The Blazor templates on the command-line: dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.0.0-preview4-19216-03

Installation

Latest version in here: NuGet

To Install

Install-Package BlazorVirtualScrolling

or

dotnet add package BlazorVirtualScrolling

Usage

@using BlazorVirtualScrolling

<VirtualScroll style="height: 500px;" ItemType="string" Items="@items" ItemHeight="50">
    <div>@context</div>
</VirtualScroll>

@functions
{
    public IEnumerable<string> items = Enumerable.Range(0, 1000000).Select(i => i.ToString()).ToArray();
}

BlazorVirtualScrolling components for server-side Blazor (Razor Components)

  • Startup.cs
app.UseEmbeddedBlazorContent(typeof(BlazorVirtualScrolling.VirtualScroll).Assembly);
  • _Host.cshtml (head section)
@using EmbeddedBlazorContent
<head>
    ...
    @Html.EmbeddedBlazorContent()
</head>

Questions

For how-to questions and other non-issues, for now you can use issues or you can use Gitter.

Contributing

We'd greatly appreciate any contribution you make. :)

License

This project is licensed under the terms of the MIT license.

News

Version 1.0.0

  • First version of VirtualScroll component, proof of concept
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].