Skip to content

QuickGrid: Adds EmptyContentTemplate #62603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

los93sol
Copy link

@los93sol los93sol commented Jul 8, 2025

QuickGrid: Adds EmptyContentTemplate

Description

This PR adds an EmptyContentTemplate component to QuickGrid. When specified by a user they can simply add markup for EmptyContentTemplate and it's child content will be applied to both Virtualize and Paginated views of their table. It also exposes
an internal RenderFragment for EmptyContent so that derivitives of QuickGrid can specify a default implementation easily and still allow users to override. This is a similar model to how ColumnBase deals with the HeaderTemplate.

Fixes #50498

@los93sol los93sol requested a review from a team as a code owner July 8, 2025 15:54
@github-actions github-actions bot added the area-blazor Includes: Blazor, Razor Components label Jul 8, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Jul 8, 2025
Copy link
Contributor

Thanks for your PR, @@los93sol. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

Makes ChildContent nullable
Adds relevant parts of EmptyContentTemplate to PublicAPI.Shipped.txt
@los93sol los93sol requested review from tdykstra and a team as code owners July 8, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add EmptyContent on quickgrid
2 participants