-
Book Overview & Buying
-
Table Of Contents
Blazor WebAssembly by Example - Third Edition
By :
The QuickGrid component is a lightweight, high-performance Razor component that displays tabular data and can be bound directly to a collection. It provides a simple declarative syntax for defining columns while handling the complexities of data binding, rendering, and layout automatically. Unlike manual HTML tables or the lower-level Virtualize component, QuickGrid is optimized for common data grid scenarios.
To use the QuickGrid, you need to add the Microsoft.AspNetCore.Components.QuickGrid NuGet package to your project.
These are the key features of the QuickGrid component:
This is a screenshot of a page that uses a QuickGrid component to display data.

Figure 10.4 – Sample QuickGrid component
This is the code used to generate the preceding screenshot:
WeatherGrid.razor
@page "/weather-grid"
@using Microsoft.AspNetCore.Components.QuickGrid
<h2>Weather History (1000 Records)</h2...