This sample demonstrates the Lazy Load Grouping feature in the Syncfusion Blazor DataGrid. Lazy load grouping improves performance when working with large grouped datasets by initially rendering only group caption rows and loading the corresponding child records when a group is expanded. This approach minimizes data processing, reduces memory consumption, and improves responsiveness compared to loading all grouped records at once.
- Demonstrates the Syncfusion Blazor DataGrid lazy load grouping functionality.
- Uses DataGrid grouping to organize records into expandable group sections.
- Loads grouped child records only when a user expands a group caption row.
- Reduces initial rendering overhead by displaying collapsed group captions during the initial load.
- Optimizes large dataset presentation by deferring the loading of nested group content.
- Provides a practical example of improving DataGrid scalability through on-demand data loading.
- Visual Studio 2022 or Visual Studio Code
- .NET SDK compatible with the project's target framework
Visual Studio 2022
- Clone or download the repository.
- Open the solution file
LazyLoadGroup.sln. - Restore all NuGet packages.
- Set the
LazyLoadGroupproject as the startup project if required. - Build the solution.
- Run the project using
Ctrl+F5.
Visual Studio Code
- Open the repository folder in Visual Studio Code.
- Open the integrated terminal.
- Navigate to the project directory.
dotnet restore
dotnet run- Open the local URL displayed in the terminal after the application starts. The repository README references
https://localhost:5001as the sample URL.
Pages/— contains the Razor pages that host and render the Syncfusion DataGrid lazy load grouping sample.
- For general product questions, visit the Syncfusion Community Forum or Syncfusion Support.
- To report an issue specific to this sample, open a GitHub issue in this repository.
- For feature documentation, see the Syncfusion Lazy Load Grouping documentation: https://help.syncfusion.com/grid-sdk/blazor/data-grid/lazy-load-grouping
This is a Syncfusion sample project provided to demonstrate product usage. Review the Syncfusion license terms before using Syncfusion components in your own applications.