Skip to content

QuickGrid: Adds option to disable rendering of filler rows #62607

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 4 commits into
base: main
Choose a base branch
from

Conversation

los93sol
Copy link

@los93sol los93sol commented Jul 8, 2025

QuickGrid: Adds option to disable rendering of filler rows

Description

This pull request add an option to PaginationState to disable rendering of filler rows. It keeps the default functionality of rendering the filler rows. I understand that one way to deal with this is to style it with CSS, but in some cases that's impractical, overly complex, and desirable. This provides users the ability to choose how they want it to behave without being forced to use CSS which prevents them from changing from one method to another on a per instance basis. The existing code noted that it should be considered to make it optional as well.

NOTE: I submitted this previously but I needed to move it to a feature branch and continue working it down to ensure all the checks are passing.

@Nick-Stanton I'm tagging you since it looks like you were the original author that added the comment that it should be considered to make this functionality optional.

Fixes #57199 #59096

@los93sol los93sol requested a review from a team as a code owner July 8, 2025 18:21
@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.

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.

Paginator renders extra empty rows when page isn't full of items
2 participants